-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Clientside PreventUpdate and no_update #963
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
Good idea! Yes, I think everything you're proposing makes sense, feel free to make a PR. One thing I'd add then is that |
Yes, this is what I wanted to get feedback on first. I'm not sure that Is there a better namespace to put these in? |
I think that’s the right place. Yes, you could argue that forbidding those two names is a breaking change, but it seems to me extremely unlikely anyone has used those as a namespace so far. I’d put a check on the Python side that errors if those namespaces are referenced, and add them to |
Sounds like a plan. I'll put one together shortly. |
fixes tooltips on RangeSlider
It would be helpful for clientside callbacks to be able to conditionally update components. This is not supported right now (as far as I can tell). This should be pretty simple, my idea would be to define
then in
updateClientsideOutput
just conditionally block updating by addingSimilarly we could define
window.dash_clientside.PreventUpdate
and allow the use ofIf this seems reasonable I could put together a PR.
The text was updated successfully, but these errors were encountered: