In plain HTML it is possible to have optgroups in a dropdown:
Code: Select all
<select>
<optgroup>
<option>Volvo</option>
<option>Saab</option>
</optgroup>
<optgroup>
<option>Mercedes</option>
<option>Audi</option>
</optgroup>
</select>
Is it possible to add optgroups to ebase-dropdown form-fields? Of course it can be done with HTML and then read the selected value with Jquery, but I would like to use a 'regular' ebase field.