Closed alisspers closed 11 years ago
I should add, what we did was to add a possible property for select fields called "optgroups". If this is set to true
, the show_field_select()
method outputs optgroups if it finds an array where there otherwise would be an option value.
The functionality has been tested with both normal and multiple select boxes.
Hi! We had a scenario where a select box would get too large to be usable if i couldn't get it categorised with
<optgroup>
's. Hence this modification. Feel free to merge it if you think it looks ok./Anders