Currently the list of optoins is a slice of strings:
options:
- Alabama
- California
will produce
<select name="test">
<option value="Alabama">Alabama</option>
<option value="California">California</option>
</select>
We need to spec up a UX so user can have something like this:
<select name="test">
<option value="AL">Alabama</option>
<option value="CA">California</option>
</select>
Golang order map keys by alpha, preventing user from imposing an order so
options:
al: Alabaa
ca: California
is out of the question.
We could use comma separated strings
options:
- 'al: Alabama'
- 'ca: California'
But this means, no option text could ever contain semi columns...
Currently the list of optoins is a slice of strings:
will produce
We need to spec up a UX so user can have something like this:
Golang order map keys by alpha, preventing user from imposing an order so
is out of the question.
We could use comma separated strings
But this means, no option text could ever contain semi columns...