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
Setting the validate.min value to 0 does not work. The attribute 'min' does not appear in the html tag.
Example: name: field label: 'example field' placeholder: 1 type: number validate: { required: true, min: 0, max: 10 }
Setting 'min' to any other value works perfectly.
The same happens with 'validate.max: 0'.
The text was updated successfully, but these errors were encountered:
Hmm I think the 0 is being treated as false. Will check.
Sorry, something went wrong.
Fix min value for number field #130
2984dac
No branches or pull requests
Setting the validate.min value to 0 does not work. The attribute 'min' does not appear in the html tag.
Example:
name: field
label: 'example field'
placeholder: 1
type: number
validate: { required: true, min: 0, max: 10 }
Setting 'min' to any other value works perfectly.
The same happens with 'validate.max: 0'.
The text was updated successfully, but these errors were encountered: