lion/packages/ui/components/form-core
Hardik Pithva 9b92fa216e
fix(form-core): allow to use '_$isValidator$' instead of instanceof check (supporting multiple versions of Validator)
* 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>
2024-11-12 13:28:08 +01:00
..
src fix(form-core): allow to use '_$isValidator$' instead of instanceof check (supporting multiple versions of Validator) 2024-11-12 13:28:08 +01:00
test fix(form-core): allow to use '_$isValidator$' instead of instanceof check (supporting multiple versions of Validator) 2024-11-12 13:28:08 +01:00
test-helpers chore(ui): lint and types fixes 2023-11-08 19:08:54 +01:00
test-suites chore: update/clean devDependencies for better security and perf 2024-10-16 14:14:26 +02:00
translations fix: add translations to the type of validation message (#2226) 2024-06-17 09:28:51 +02:00
types chore: update portal url 2024-10-29 12:15:39 +01:00