We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The min validation evaluates strings that represent numbers (e.g. '1234') against their numeric value.
min
'1234'
This field:
export const password = field('password', '', [required(), min(8)])
With this input: '8' evaluates to valid. Evaluation here. I didn't test it but it seems max is different and is accounting for that.
'8'
valid
max
The text was updated successfully, but these errors were encountered:
Sorry, seems to be a duplicate of #88, can be closed if needed.
Sorry, something went wrong.
I have a possible solution in #118
chainlist
No branches or pull requests
The
min
validation evaluates strings that represent numbers (e.g.'1234'
) against their numeric value.This field:
With this input:
'8'
evaluates tovalid
. Evaluation here.I didn't test it but it seems
max
is different and is accounting for that.The text was updated successfully, but these errors were encountered: