Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

optgroup element is not themed. #4809

Closed
jgossett opened this issue Aug 6, 2012 · 3 comments
Closed

optgroup element is not themed. #4809

jgossett opened this issue Aug 6, 2012 · 3 comments
Assignees
Milestone

Comments

@jgossett
Copy link

jgossett commented Aug 6, 2012

When you create a non-native list with optgroup, there is no way to change the divider theme. And, the current implementation has the divider theme very similar to the selected item theme. I would assume data-divider-theme would change the optgroup theme.

<select data-divider-theme="e" data-native-menu="false" id="SelectedTheme" name="SelectedTheme"><optgroup label=""></optgroup>
<optgroup label="Basic"><option selected="selected" value="Default">Default</option>
<option value="Blocks">Blocks</option>
<option value="Bubble">Bubble</option>
<option value="Floating">Floating</option>
<option value="Minimalist">Minimalist</option>
<option value="Modern">Modern</option>
<option value="Words">Words</option>
</optgroup>
<optgroup label="Kids">
<option value="Bugs">Bugs</option>
<option value="Construction">Construction</option>
<option value="Meadow">Meadow</option>
<option value="Ocean">Ocean</option>
<option value="Rainforest">Rainforest</option>
</optgroup>
</select>

@jaspermdegroot
Copy link
Contributor

Related PR: #4812

@ghost ghost assigned jaspermdegroot Sep 19, 2012
@jaspermdegroot
Copy link
Contributor

New PR: #5033

gseguin added a commit that referenced this issue Oct 15, 2012
Select: Add optgroup theming for non-native selects - Fix for #4809: optgroup element is not themed
@jaspermdegroot
Copy link
Contributor

PR #5033 has been merged. Closing as fixed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants