plotly / dash

Data Apps & Dashboards for Python. No JavaScript Required.

Home Page:https://plotly.com/dash

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Running argument in a callback breaks when provided with a dictionary as an component_id instead of a string

MohammadSakhnini opened this issue · comments

Dash version - 2.6.1

This breaks:
running=[(Output({"type": "dwn_panel_download_btn", "page": "dp_wiki"}, "disabled"), True, False)]

This works:
running=[(Output("dwn_panel_download_btn", "disabled"), True, False)]

Screenshots

image

commented

hi @MohammadSakhnini ,
This looks like a bug. Thanks for opening this issue.
Are you able to share a minimal reproducible example?

And did you mean Dash v.2.16.1?

Duplicate of #2111