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

Persist null values in numeric input #411

Merged
merged 1 commit into from
Jun 26, 2020
Merged

Conversation

tcbegley
Copy link
Collaborator

Numeric input was calling setProps with undefined when input value was not valid, which in Dash should be reserved for uninitialised props and so was not being persisted. Returning null instead, which still gets interpreted as None in Python, but ensures that that value is persisted.

Reported in #283

Numeric input was calling setProps with undefined when input value was
not valid, which in Dash should be reserved for uninitialised props and
so was not being persisted. We return null instead, which still gets
interpreted as None in Python, but ensures that that value is persisted.
@tcbegley tcbegley merged commit fdeb839 into master Jun 26, 2020
@tcbegley tcbegley deleted the number-input-null-persistence branch June 26, 2020 06:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant