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

Fix many NoneType errors #216

Conversation

mccalluc
Copy link
Contributor

@mccalluc mccalluc commented Dec 2, 2023

Dash's default is for dropdowns to be clearable by clicking the little "x",
and when they are clear the handler sees None, and since we don't handle that, there's an error.

I began with the windrose, and confirmed this change fixes the errors there. It seems relatively safe,
so I went ahead and applied it to all the other pull downs as well, though I have not manually checked each one.

https://dash.plotly.com/dash-core-components/dropdown#dropdown-clear

@FedericoTartarini FedericoTartarini merged commit 08c44d9 into CenterForTheBuiltEnvironment:main Dec 5, 2023
2 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