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

Remove "throw Error" since they cause other components to fail silently #72

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

protozoo
Copy link
Member

@protozoo protozoo commented Oct 2, 2024

When a plotly element receives an undefined value in its attributes, like this:
<plotly data="undefined">

results in the component not being rendered in the page, but also causing other components to not be rendered, which is confusing for users. Removing the "throw Error" statements will allow the execution to continue with default or empty values.

@protozoo protozoo requested review from PGimenez and hhaensel October 2, 2024 18:54
@hhaensel
Copy link
Member

hhaensel commented Oct 3, 2024

Thank you for this PR, that sounds totally reasonable to me.

@hhaensel hhaensel merged commit 25ea269 into main Oct 7, 2024
20 checks passed
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

Successfully merging this pull request may close these issues.

2 participants