Skip to content
Grav 2.0 is officially stable. Read the announcement →
General

Select Field with Options Group Name

Started by yenleidong 9 years ago · 4 replies · 1114 views
9 years ago

Hi There,
Is that possible to added optgroup name to select field box?
I have example from html, let's say....

TXT
<select name="myselectbox">
   <option value="please select">
      <optgroup label="this is group one">
         <option value="groupone_one>
         <option value="groupone_two>
         <option value="groupone_three>
     </optgroup>
     <optgroup label="this is group two">
         <option value="grouptwo_one>
         <option value="grouptwo_two>
         <option value="grouptwo_three>
     </optgroup>
</select>

Any help will be appreciated.
Thanks.

9 years ago

merged and will be in the next admin release (out soon!)

9 years ago

done, like a charm, thanks for the new update.

Suggested topics

Topic Participants Replies Views Activity
General · by jean-louis67, 3 weeks ago
2 307 3 weeks ago
General · by Andy Miller, 3 weeks ago
0 310 3 weeks ago
General · by Veehem, 4 weeks ago
0 263 4 weeks ago
General · by milkboy, 4 weeks ago
0 264 4 weeks ago
General · by ian russell, 1 month ago
2 335 1 month ago