Skip to content
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

[Feature Request] Dash pattern matching MATCH without matching outputs #1400

Closed
ronw98 opened this issue Sep 9, 2020 · 1 comment
Closed

Comments

@ronw98
Copy link

ronw98 commented Sep 9, 2020

Hi!
I want to use pattern matching to match an Input and a State to update a "global" output (with no MATCH wildcard), as shown in the decorator below
@app.app.callback( Output(utils.GRAPH_CREATION_DIALOG_GRAPH_TITLE, 'value'), [ Input({'type': utils.GRAPH_ITEM_EDIT_BUTTON, 'index': MATCH}, 'n_clicks') ], [ State({'type': utils.GRAPH_ITEM_SOURCE_DATA_STORE, 'index': MATCH}, 'data') ] )

Which is not yet possible is Dash. I found an easy workaround but it would be great if these kind of things could be available in the future!

Thanks!

@alexcjohnson
Copy link
Collaborator

This is inherently ambiguous and therefore will remain disallowed - see #1103 (comment)

Depending on what you're really trying to do, ALL may be the solution you're looking for. But this kind of question is better suited to https://community.plotly.com. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants