We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe your context Please provide us your environment, so we can easily reproduce the issue.
pip list | grep dash
dash 2.17.0 dash-core-components 2.0.0 dash-html-components 2.0.0 dash-table 5.0.0 dash-bootstrap-components 1.6.0
Describe the bug
Using wildcards in ids for Outputs in the running kwarg does leads to itempath is undefined error.
itempath is undefined
Expected behavior
Wildcards are properly resolved and matching components are updated while the callback is running.
MVE
from time import sleep import dash_bootstrap_components as dbc from dash import MATCH, Input, Output, callback layout = [ dbc.Button( "Test1", id={"component": "button", "index": "1"}, ), dbc.Button( "Test2", id={"component": "button", "index": "2"}, ), ] @callback( Output({"component": "button", "index": MATCH}, "color"), Input({"component": "button", "index": MATCH}, "n_clicks"), running=[ (Output({"component": "button", "index": MATCH}, "children"), "running", "finished"), ], prevent_initial_call=True, ) def test(_) -> str: sleep(3) return "warning"
The text was updated successfully, but these errors were encountered:
The main issue here is that the MATCH doesn't work.
MATCH
Sorry, something went wrong.
T4rk1n
Successfully merging a pull request may close this issue.
Describe your context
Please provide us your environment, so we can easily reproduce the issue.
pip list | grep dash
belowDescribe the bug
Using wildcards in ids for Outputs in the running kwarg does leads to
itempath is undefined
error.Expected behavior
Wildcards are properly resolved and matching components are updated while the callback is running.
MVE
The text was updated successfully, but these errors were encountered: