Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

Facing error with dropdown

$
0
0

Can someone help me with this error:
Invalid argument options[0].label passed into Dropdown with ID “id_dropdown”.

This is how I have formatted the element:
dcc.Dropdown(id = ‘id_dropdown’,
options = [{‘label’ : x, ‘value’ : x} for x in s.values()],
placeholder = ‘Enter the ID of the User’,
),

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 6271

Trending Articles