Skip to content

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

@ronw98

Description

@ronw98

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions