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
A validation error should trigger when not number values are used in the field.
Version
OS: Linux
Browser: Mozilla Firefox 90.0
Additional context
The bug won't happen in Chrome because inputs of type number are controlled by the browser to prevent bad values in the field.
In Firefox, the values are controlled when submitted. If the value of the field is not a number, the validation will pass, but the value returned by the form will be null.
In Firefox, if the value is a valid number, but too high or too low, the validation will trigger.
The text was updated successfully, but these errors were encountered:
@Rileran Wait, I answered too fast 😔
The documentation is right, and it should not be valid. I see the issue on Firefox, the value is not set if it's not a number.
Describe the bug
When using an input of type
number
, adding validation rulesisMaxNumber
orisMinNumber
won't trigger validation error when the value is not a number.Code
Expected behavior
A validation error should trigger when not number values are used in the field.
Version
Additional context
number
are controlled by the browser to prevent bad values in the field.The text was updated successfully, but these errors were encountered: