Versions
Description
I have added error messages to each input using <label> that are shown using v-show = "errors.has('fieldName')". This works as expected, this.$validator.validateAll() makes the error messages visible if the field is not in a scope. But this doesn't work if the field is in a scope added using <form data-vv-scope = "scopeName"> and validated using this.$validator.validateAll('scopeName').
Reproduced here
https://jsfiddle.net/6sh0274c/32/
Desktop:
has does not assume the scope, you have to explicitly specify it yourself, for example:
https://jsfiddle.net/6sh0274c/36/
Thanks for the clean example :)
Thank you.
Most helpful comment
hasdoes not assume the scope, you have to explicitly specify it yourself, for example:https://jsfiddle.net/6sh0274c/36/
Thanks for the clean example :)