Skip to content

[REQUEST] Documentation of min and max validators should mention behavior in case of non-number input #70

Open
@omer-g

Description

@omer-g

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).

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions