When validating with a scope set it will throw an error 'examples#scope-example:1 Uncaught (in promise) e {msg: "[vee-validate]: Validation Failed"}'
this.$validator.validateAll('form-1')
This also happens in the example on http://vee-validate.logaretm.com/examples#scope-example
this is intended, as of beta.19 you should be catching the promise, the promise rejects only if the validation fails so you should do this:
this.$validator.validateAll().then(() => {
// success stuff
}).catch(() => {
// fail stuff
});
Which makes it more consistent to use with other APIs
Awesome, that works!
Most helpful comment
this is intended, as of beta.19 you should be catching the promise, the promise rejects only if the validation fails so you should do this:
Which makes it more consistent to use with other APIs