-
Notifications
You must be signed in to change notification settings - Fork 295
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(form-core): allow to use '_$isValidator$' instead of instanceof c…
…heck (supporting multiple versions of Validator) * fix: disable dot notation to avoid the renaming for the prop during build/minification * test: add check for _$isValidator$ * chore: cleanup, docs, and add prop on ctor to be more unobtrusive * chore: changeset * fix(form-core): make use of to check validator instance --------- Co-authored-by: Thijs Louisse <[email protected]>
- Loading branch information
1 parent
1a485bd
commit 4aa660d
Showing
6 changed files
with
41 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@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. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters