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

dict component id passed to clientside callbacks is object instead of string #1461

Open
sdementen opened this issue Nov 17, 2020 · 1 comment
Labels
bug something broken dash-callbacks related to callbacks P3 not needed for current cycle

Comments

@sdementen
Copy link

When passing an Input with the component_property being "id" and the component_id referring to a dict (instead of a string), the javascript function received an object (the id dict) and not the stringified/jsonified id. This makes it difficult to use.

See here https://community.plotly.com/t/clientside-callback-with-pattern-matching/45657/2 for the required workaround in javascript

@nicolaskruchten
Copy link
Contributor

I'll move this to the Dash repo to get the right folks looking at it :)

@nicolaskruchten nicolaskruchten transferred this issue from plotly/plotly.py Nov 17, 2020
@chriddyp chriddyp added dash-callbacks related to callbacks pmc labels Feb 10, 2022
@gvwilson gvwilson self-assigned this Jul 23, 2024
@gvwilson gvwilson removed their assignment Aug 2, 2024
@gvwilson gvwilson added P3 not needed for current cycle bug something broken and removed pmc labels Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken dash-callbacks related to callbacks P3 not needed for current cycle
Projects
None yet
Development

No branches or pull requests

4 participants