Skip to content
This repository was archived by the owner on Jun 4, 2024. It is now read-only.

Validate data attribute #384

Closed
ned2 opened this issue Feb 26, 2019 · 0 comments · Fixed by #731
Closed

Validate data attribute #384

ned2 opened this issue Feb 26, 2019 · 0 comments · Fixed by #731
Assignees
Milestone

Comments

@ned2
Copy link

ned2 commented Feb 26, 2019

Currently, when the data attribute is set to None, Dash will happily accept as a valid value but this will result in the dreaded "Error loading dependencies" in the app.

This came up over in plotly/dash#616, where it resulted in a bug that was hard to pin down.

It would be nice if the validation could extend to values passed in by the callback, rather than just on the initial contents of the layout (although I don't know if we've solved this problem for validation of components elsewhere) as this was how the linked example manifested.

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

Successfully merging a pull request may close this issue.

3 participants