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

Number validation on number input is be routed to empty. #56

Closed
HiroshiFuu opened this issue Apr 30, 2018 · 2 comments
Closed

Number validation on number input is be routed to empty. #56

HiroshiFuu opened this issue Apr 30, 2018 · 2 comments

Comments

@HiroshiFuu
Copy link

For the input with type number, if you enter a non numeric value, the error will be shown as empty not the number. I found out the reason is the value of the input will be parsed as empty value.

@yairEO
Copy link
Owner

yairEO commented May 2, 2018

Thank you very much for reporting sir, I will fix this after I get back from my vacation

@yairEO
Copy link
Owner

yairEO commented May 17, 2018

Apparently browsers consider that to be the correct behavior.
I found a discussion about it on stackoverflow.

I cannot think of a workaround for this problem (it will only happen in old browsers like IE11 and below (didn't check EDGE)

@yairEO yairEO closed this as completed Sep 9, 2020
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

2 participants