✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
⚡️ Concerned about the grid? Kyle Baranko teaches how to predicting peak loads using XGBoost. Register for the August webinar!

Hide multiple selected values in Dropdown menu

Hi,
I have a dropdown menu in my dashboard, with the option multi=True.
The values (in options) to choose are many and every time I select a value a graph is updated (adding the line corresponding to that value). The graph has the legend.
Obviously every time I select a value, it appears in the dropdown menu. I would like to hide the window that opens when I select the values (so as not to have a large window if I select many values) and maybe be able to open it by clicking on the dropdown. Then hide the window when I select the values and reopen it by clicking on it.
Is there a way to fix this ?

The dropdown code is:
dcc.Dropdown(id=“clientid_dropdown”,
options=[{‘label’:i, ‘value’:i} for i in dups_clientid.index],
placeholder=‘Please select…’,
multi=True,
value=,
style={‘width’: ‘100%’})

Thank you !

2 Likes

Thanks for bringing this up. Am encountering the same problem too. Hi @chriddyp
, any solutions for this?