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

Issue adding decimal numbers #21

Open
martinbean opened this issue May 18, 2018 · 1 comment
Open

Issue adding decimal numbers #21

martinbean opened this issue May 18, 2018 · 1 comment

Comments

@martinbean
Copy link

I have a keyboard with the numeric layout. When I click “5” and then the decimal point, it clears the value and I get this message in the console:

The specified value "5." is not a valid number. The value must match to the following regular expression: -?(\d+|\d+.\d+|.\d+)([eE][-+]?\d+)?

I’ve tried finding that error message in the codebase but can’t see where it or the pattern is defined.

Therefore, could this library be updated so selecting a decimal point doesn’t trash the value and instead lets me go on to specify the number after the decimal point?

@Cycododge
Copy link

I know it's been a while, but for anyone else the message will go away if you update your input to type="text".

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