Styling choices & options by optgroup #591

wants to merge 1 commit into


None yet
2 participants

In reference to #572 – adds .group-option-[index] classes to optgroup options & choices, e.g. "group-option-1"


pfiller commented Apr 23, 2013

Adding CSS styles based on an index is pretty brittle - all it takes is a new data point to break an entire list of styles. I think a more solid approach would be to simply carry over any styles from an optgroup to the respective output in Chosen.

Thanks anyways, @camerond

pfiller closed this Apr 23, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment