Hi all,
I want to have a dropdown that does not leave out options after choosing them. So if in the example below I pick “1”, then I want to be able to pick that again (now the selection becomes 2,3,4,5 after picking 1). Is this possible?
Thanks in advanced!
import dash
import dash_core_components as dcc
import dash_html_components as html
app = dash.Dash()
app.layout = html.Div([
dcc.Dropdown(
options=[{'label':i, 'value':i} for i in range(0,5)],
value=[],
multi=True
)
])
if __name__ == '__main__':
app.run_server(debug=True)
5 posts - 3 participants