I’m trying to make a ‘Reset Filters’ button for my dashboard. I’m really struggling to get the html.Button to have any interactive capability whatsoever. Is there a way to make this work?
I guess I could use the dcc.Checklist with a single box, but the UI isn’t as intuitive as a button.
It appears that this solution will automatically trigger the click event on the button when the app starts up. This wouldn’t work for me, as I’m trying to write an app where clicking the button would trigger an expensive computation, and I don’t want to force the user to have to wait for that to finish whenever the app starts up.
Is there a way to do this that won’t trigger the event on startup?