I have an app that is using an Events button to reset a hundred other buttons and I recently upgraded Dash, core and html components to the latest version, only to find that the Events button is completely gone. I downgraded again, just to continue working on the app, but I’m still having the issue.
Does anyone know what version of dash or combination of dash and core, html version components I need to get back on track?? I’m using Dash 0.32.0 now.
Events were removed from Dash in a recent update, and the won’t be added back in. Instead, you can use an Input in a callback that is listening for changes to the n_clicks property of any Dash component (such as html.Button)
OK, I figured it out. If anyone wants to use the events button, these versions of dash will get the job done. dash==0.30.0
dash-core-components==0.38.0
dash-html-components==0.13.2
dash-renderer==0.15.0
Hey thanks. I’ve since realised that that method is over complicated. It should be possible to use the inbuilt max(), which would make the code significantly shorter and a heck of a lot faster.