Skip to content

2.0.0-rc.20

Pre-release
Pre-release
Compare
Choose a tag to compare
@logaretm logaretm released this 01 Nov 19:22

πŸ› Fixed

  • Vue's built in components will no longer be affected by the plugin and provide their parent's validator to their children. Affected components are keep-alive, transition, transition-group. This issue prevented children of said components from injecting the intended validator instances. #891 #929

✨ Enhancements

  • validator.reset now resets the aria attributes on the elements. #906
  • validator.reset now returns a promise when the reset process is done. #843 thanks @SirKitboard for PR #934
  • Date rules now accept Date values which allows custom components to emit date values. #901
  • Exposed the mixin and directive properties to allow specific component installation. #778 #914 and you can use the $_veeValidate object on your ctor to define the plugin configuration for that component.
import { directive, mixin } from 'vee-validate';

export default {
  mixins: [mixin],
  directives: { validate: directive },
  $_veeValidate: {
    // vee-validate config
  }
};

πŸ›  Misc

  • Added flow static type checking for some portions of the code base.