Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option class passthrough for multi-select #2923

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

meuserj
Copy link

@meuserj meuserj commented Nov 21, 2017

I had a fairly specific need to style a specific option tag differently than the rest of them in a multi-select box. This works somewhat similarly to the inherit_select_classes option, but it works on the option tags.

I've never worked with Coffee before, so I apologize if I have made any stupid mistakes. This code works for me, but the additional classes needs to be defined in CSS with the important rule if their style fields will be overwritten by search-choice.

@JJJ JJJ mentioned this pull request Jul 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant