npm vee-validate 3.2.0

latest releases: 4.14.7, 4.14.6, 4.14.5...
4 years ago

🆕 New Features

  • Added fields slot property to the ValidationObserver, it gives you read-only access to fields currently observed by the ValidationObserver which contains their validation flags and validation errors mapped by their rule name. #1923 #2484 (#2535)

  • Nested observers errors state is now merged with their parent observer instead of being nested, which makes the errors structure consistent, this could be breaking if you depend on Observer.errors being nested. (#2530)

🐛 Fixes

  • fix: internal dictionary not resolving message to newly registered rules. #2426 (#2545)
  • fix: avoid resolving rules from HTML5 attributes when they are not installed. #2534
  • fix: defer silent validation until after mount which allows cross-field validation rules to correctly resolve other fields' values. #2533
  • fix: initialize observer flags properly (#2529)

🌐 I18n

  • fix: incorrect field placeholders in some locale files (#2525) Thanks @ilyaskhametov
  • PL: Remove duplicated length value in the error messages. Thanks @rcirmira
  • IT:: Correction in the translation of "confirmed" rule. (#2531) Thanks @pham-dat

Don't miss a new vee-validate release

NewReleases is sending notifications on new releases.