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 · 1092 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 days ago
2 81 2 days ago
General · by Andy Miller, 7 days ago
0 146 7 days ago
General · by Veehem, 1 week ago
0 146 1 week ago
General · by milkboy, 1 week ago
0 138 1 week ago
General · by ian russell, 2 weeks ago
2 226 2 weeks ago