Hello,
I am trying to hide a html.button before I receive some input from the user, I declare the button as:
html.Button('Button', id='hidden_button', hidden=True)
And I update the button like this:
@app.callback(
Output('hidden_button', 'hidden'),
[Input('time_series_graph', 'clickData')])
def show_button(clickData):
if condition:
return False
else:
return True
However, this does not work, and the button is just shown from the start. Any idea what I am doing wrong? Thank you.