* fix(form-core): make use of `validatorName` and `type` to check validator instance * fix(form-core): check for nullability for disabled prop * fix: add `_$isValidator$` property to improve the check * fix: disable dot notation to avoid the renaming for the prop during build/minification * fix: disable dot notation to avoid the renaming for the prop during build/minification * test: add check for _$isValidator$ * chore: catch edge cases in cem script * chore: cleanup, docs, and add prop on ctor to be more unobtrusive * chore: changeset --------- Co-authored-by: Thijs Louisse <Thijs.Louisse@ing.com>
194 B
194 B
| @lion/ui |
|---|
| patch |
Add unique ['_$isValidator$'] marker to identify Validator instances across different lion versions.
It's meant to be used as a replacement for an instanceof check.