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
Versions
-vee-validate doc
Describe the bug Doc error.
To Reproduce Steps to reproduce the behavior:
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered:
Sorry about that, the rule name will be changed in the next version, so the docs probably got built by mistake to reflect these changes.
The reason for renaming the rule is that it causes conflicts with JS in keyword in some contexts.
in
Sorry, something went wrong.
This v-validate="'required|not_in:choose'" still doesn't work for me.
Error: [vee-validate] No such validator 'not_in' exists.
please a good example with vee-validate on native html select input(not v-select) willl help understand this.
@Clinsmann The not_in rule has been renamed to excluded because the in rule had conflicts in some environments with the in keyword.
not_in
excluded
in => included not_in => excluded
included
here is an example: https://jsfiddle.net/vapg04j6/
Thanks for the urgent reply @logaretm
It did not work but i found a solution that works.
i change my settings on app.js from
Vue.use(VeeValidate);
to
Vue.use(VeeValidate, { events: 'input|blur' });
and added data-vv-validate-on="blur" as an attribute to the select tag like this
data-vv-validate-on="blur"
<select name="status" v-model="form.status" v-validate="'required'" data-vv-validate-on="blur"> <option v-for="status in statuses" :value="status">{{status | capitalize}} </select>
No branches or pull requests
Versions
-vee-validate doc
Describe the bug
Doc error.
To Reproduce
Steps to reproduce the behavior:
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: