Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Select Field with Options Group Name

Started by yenleidong 9 years ago · 4 replies · 1192 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 Andy Miller, 6 days ago
0 105 6 days ago
General · by lynbor, 4 weeks ago
3 436 2 weeks ago
General · by lynbor, 3 weeks ago
7 555 2 weeks ago
General · by Harry, 2 weeks ago
0 159 2 weeks ago
General · by Old Man Umby, 1 month ago
2 308 3 weeks ago