You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an issue with number validators.
Input type="input", inputType="number" - validation always fails with message "Invalid number".
Here is example fiddle - try to enter number in Age field: https://jsfiddle.net/o6tfzccs/1/
Validators (nubmer, integer, double) uses lodash isNumber function, which evaluates to false if argument is type of string. Maybe I'm wrong, but value, which is returned from input is type of string and should be converted to number before validation? https://lodash.com/docs/4.17.4#isNumber
The text was updated successfully, but these errors were encountered:
I have an issue with number validators.
Input type="input", inputType="number" - validation always fails with message "Invalid number".
Here is example fiddle - try to enter number in Age field:
https://jsfiddle.net/o6tfzccs/1/
Validators (nubmer, integer, double) uses lodash isNumber function, which evaluates to false if argument is type of string. Maybe I'm wrong, but value, which is returned from input is type of string and should be converted to number before validation?
https://lodash.com/docs/4.17.4#isNumber
The text was updated successfully, but these errors were encountered: