Fixed Issues:
- Fixed an issue where fields weren't detaching properly when using v-if #314
- Fixed
v-model
detection issues inv-for
loops #270 - Fixed SSR issues with Nuxt.js #310
- ignore
v-model
detection with complex paths, the validator can only watch simple object paths.
Changes:
data-vv-delay
now works withv-model
errors.any
anderrors.all
now display all errors across all scopes #311.- The validator now follows an early-exit behavior when validating inputs, the order of rules is from left to right #222.
data-vv-name
attribute now takes precedence overname
attribute.- Added a shorthand for the object form so you no longer need to scope the rules object inside a
rules
property:
const rules = {
required: true,
email: true
};
Note that you cannot specify extra fields like scope
when using this shorthand.