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
I have an input field using the length rule, however when I input 4 numbers, it still does not pass.
<input class="input" type="text" v-validate="'required|numeric|length:4'" name="building" :class="{'is-danger': errors.has('building')}" placeholder="Building" v-model="room.building" maxlength="4" size="8">
I get The building length must be 4. when writing "1234" in the field, which I should believe is 4 long.
The building length must be 4.
The text was updated successfully, but these errors were encountered:
700d45f
Thanks for reporting the issue, I have identified the cause being not able to handle numeric values correctly, should be released with the next tag.
At the meantime you may want to override it with a custom rule that does the same for now.
Sorry, something went wrong.
I am already using this repo as a dependency, as the tsc strict mode fix isn't on npm 😄
No branches or pull requests
Versions:
Description:
I have an input field using the length rule, however when I input 4 numbers, it still does not pass.
I get
The building length must be 4.
when writing "1234" in the field, which I should believe is 4 long.The text was updated successfully, but these errors were encountered: