Open
Description
Is your feature request related to a problem? Please describe.
Currently the documentation of min
and max
validators does not specify what is the behavior when a non-number value (NaN
) is provided. Users may think these validators accept only numbers as valid input, but in case of a non-number the function validates its length.
Describe the solution you'd like
It would be helpful to have this explicitly stated in the documentation of min
and max
.
Additional context
On a side not, it might be nice to have a validator for "input is a number" (though one can get that with a pattern validator).