Black Lives Matter. Please consider donating to Black Girls Code today.
Dash HoloViews is now available! Check out the docs.

Adding classname to dcc.Dropldown

can it be done?
dcc.Dropdown(id = ‘playchoose’,className = ‘myinput’)
results in a tag that looks like

ie, it ignores the className declaration. would be nice to give it a class so that i can give it a consistent look for my app.

As far as I know, you need to enclose it in a html.Div, and set the classname in the div

ok thank you, will try that.