You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When registering a pattern-matching callback, no warning is issued if the pattern does not match the ID of any of the DOM elements.
For example if we create a button with an ID like this:
The callback does not get attached to any element but does show up on the dev tools page.
Expected behavior
Under the default conditions (app.config.suppress_callback_exceptions = False), a warning should be emitted when no matching ids are found.
Screenshots
Not needed
The text was updated successfully, but these errors were encountered:
farhanhubble
changed the title
[BUG]Patten matching callbacks do not warn on missing ID key
[BUG]Patten matching callbacks do not warn if no matches exist
Sep 19, 2024
gvwilson
changed the title
[BUG]Patten matching callbacks do not warn if no matches exist
Patten matching callbacks do not warn if no matches exist
Sep 23, 2024
Describe your context
Please provide us your environment, so we can easily reproduce the issue.
pip list | grep dash
belowDescribe the bug
When registering a pattern-matching callback, no warning is issued if the pattern does not match the ID of any of the DOM elements.
For example if we create a button with an ID like this:
and then define a callback that only defines 2/3 of the keys present in the
id
dict:The callback does not get attached to any element but does show up on the dev tools page.
Expected behavior
Under the default conditions (
app.config.suppress_callback_exceptions = False
), a warning should be emitted when no matchingid
s are found.Screenshots
Not needed
The text was updated successfully, but these errors were encountered: