-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Initial n_clicks for a Button is None instead of 0 inside a callback #177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Yeah, that's definitely confusing. Right now, any unspecified property in a dash component defaults to
|
Ok that works. |
Yeah, perhaps in the future we can use the values in the |
…age if failed (plotly#177) * add check that dash was imported and exit with useful message if not * added test to check sys.exit(1) called when dash not import correctly * fix wrong module name
…age if failed (plotly#177) * add check that dash was imported and exit with useful message if not * added test to check sys.exit(1) called when dash not import correctly * fix wrong module name
I have a Button imported from dash_html_components and I'm using it as an Input for a callback. In the very first execution, the initial value of n_clicks is
None
, but I would expect it to be0
😕The text was updated successfully, but these errors were encountered: