Skip to content

2.0.0-beta.23

Pre-release
Pre-release
Compare
Choose a tag to compare
@logaretm logaretm released this 23 Feb 00:56

Fixed Issues:

  • Fixed an issue where fields weren't detaching properly when using v-if #314
  • Fixed v-model detection issues in v-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 with v-model
  • errors.any and errors.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 over name 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.