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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

General

Select Field with Options Group Name

Started by yenleidong 9 years ago · 4 replies · 1008 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!)

8 years ago

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

Suggested topics

Topic Participants Replies Views Activity
General · by Jerry Hunt, 4 days ago
2 82 12 hours ago
General · by pamtbaau, 17 hours ago
1 55 16 hours ago
General · by Andy Miller, 1 day ago
0 45 1 day ago
General · by Marcel, 12 months ago
6 348 5 days ago
General · by Duc , 5 days ago
3 43 5 days ago