-
Notifications
You must be signed in to change notification settings - Fork 219
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
dbc.Select() should allow individual style options #275
Comments
Hey @flyingcujo Thanks for the suggestion, but it's actually not possible because the select that gets rendered is a native browser form element rather than styled HTML. One thing we would plausibly add is support for option groups, which would allow you to have headed sections in the select. But working out how to support that with the current interface would be non-trivial. |
How trivial would it be including the |
Hey @MM-Lehmann Looks like it's fairly straightforward to support this, adding it in #389 |
Adding |
Allowing the ability to allow style options in dbc.Select components would allow similar formatting features allowed by dbc.Dropdownmenuitem() - i.e. set active, format font color, etc - without the need to handle callbacks for each item listed.
The text was updated successfully, but these errors were encountered: