-
-
Notifications
You must be signed in to change notification settings - Fork 341
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(core): validate array fields properly if their values are changed
* fix(FormApi): missing onChange validation after array field helper methods * test(FormApi): onChange validation after array field helper methods + add missing moveFieldValues test * style(FormApi): Run linter * feat(FormApi): add helper function to validate a single field on a form * test(FieldApi): onChange validation after array field helper methods * test(FieldApi): single field validation * style: Run linter * docs(FormApi): add `validateField` to references documentation * chore: Remove log + only test * chore: fix failing tests after merge * chore(core): prevent field validation from forcing the `isTouched` state * chore(core): fix tests * chore(core): remove redundant async notation * chore(core): touch fields during validation again * chore(core): add method to validate array fields sub-fields from a given index * fix(core): validate array + array subfields when using helper functions * test(core): adjust test to fixes in array helper function validation * docs(core): add ref to new `validateArrayFieldsStartingFrom` function
- Loading branch information
1 parent
1272ff8
commit 0201e65
Showing
5 changed files
with
548 additions
and
6 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
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
Oops, something went wrong.