Is there a way to edit multiple div parameters within a single callback? I essentially have a dcc.Dropdown component, and I want to edit its
value based on the rows in another dt.DataTable.
Is there any way to do this other than doing the following:
@app.callback(Output('dropdown', 'options'), [Input('datatable', 'rows')]) def update_dropdown_options(rows): ... @app.callback(Output('dropdown', 'value'), [Input('datatable', 'rows')]) def update_dropdown_value(rows): ...
I have to do this for multiple dropdowns as well. If there is no way to do this, can anyone suggest another approach?