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
Hi!
I use the latest version of vuelidate and I want to validate "required" if another attribute has validation state e.g. $invalid.
Options API example:
... validations() { return { title: { minLength: ... }, subtitle: { required: requiredIf((value, attributes) => { return this.v$.title.minLength.$invalid }) } } }
I get InternalError: too much recursion when access this.v$.title. Any idea how I can solve this recursion?
InternalError: too much recursion
this.v$.title
The text was updated successfully, but these errors were encountered:
facing the same
validations () { return { user: { email: { email, isUnique(value) { if (value.trim().length === 0 || this.v$.user.email.email.$invalid) { return true } return false } }, } } },
Sorry, something went wrong.
No branches or pull requests
Hi!
I use the latest version of vuelidate and I want to validate "required" if another attribute has validation state e.g. $invalid.
Options API example:
I get
InternalError: too much recursion
when accessthis.v$.title
. Any idea how I can solve this recursion?The text was updated successfully, but these errors were encountered: