@Masya wrote:
Hi!
I’m trying to change the Div style with a callback, but getting an error:
dash.exceptions.InvalidCallbackReturnValue: The callback …admin_dropdown_div.style… is a multi-output.@app.callback( [Output('admin_dropdown_div', 'style')], [Input(component_id='year-selected', component_property='value')] ) def admin_dropdown_div(input1): if current_user.all_regions == 1: return {'display': 'block'}
are there options to fix this?
Posts: 6
Participants: 3