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

empty input converted to 0 #127

Open
dogle-scottlogic opened this issue Aug 13, 2018 · 0 comments
Open

empty input converted to 0 #127

dogle-scottlogic opened this issue Aug 13, 2018 · 0 comments

Comments

@dogle-scottlogic
Copy link

An empty input of '' is converted to 0 when passed to the onChange as the getRawValue function uses the helpers.formattedToRaw function which returns Number('');. Request that an option is added to allow an empty string or null to be returned to allow the ability to distinguish in the event handler if a user has entered a 0 or has cleared the input.

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

No branches or pull requests

1 participant