🆕 New Features
-
Added
fields
slot property to theValidationObserver
, it gives you read-only access to fields currently observed by theValidationObserver
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 theerrors
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