Hi. How can I reset the n_clicks property of a Button once it’s pressed?
I’m defining my button in the layout as the following:
html.Button("random text", id="button_ID1", n_clicks=0)
Once the button is pressed, the n_clicks would increase to 1.
Input("button_ID1", "n_clicks") in my callbacks. But, then I want to reset the
n_clicks to zero as if it’s an On-Off button.
Thanks in advance.