Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Select Field with Options Group Name

Started by yenleidong 9 years ago · 4 replies · 1149 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 jeremycherfas, 1 week ago
4 181 2 days ago
General · by lynbor, 6 days ago
2 122 3 days ago
General · by Old Man Umby, 1 week ago
1 100 1 week ago
General · by Sebastian, 1 week ago
1 124 1 week ago
General · by Andy Miller, 3 weeks ago
0 248 3 weeks ago