Hello everyone,
I want to add to my Dropdown another item “All” which contains all choices so as not to print all of them .
my code is:
dcc.RadioItems(
id=‘rating-selector’,
options=[
{‘label’: 'All ', ‘value’: ‘all’},
{‘label’: 'Customize ', ‘value’: ‘custom’}
],
value=‘all’,
),
html.Div(
dcc.Dropdown(
id="rating-dropdown",
options=[{'label':i,'value':i} for i in rating_buckets],
value="All",
placeholder="Select a rating bucket",
searchable=False,
multi = True,
),
),
Do you have an idea about how to make it please ?