-
-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support multiple errors messages (#32)
* support-multiple-errors-message * rebase rhf/resolver master * take feedback comment * improve parseErrorSchema * fix early issue * refactor parseErrorSchema * remove true because message is non undefined * improve unit test * reduce code size by a few bytes * feat(yup): add validate all field criteria logic on parsed errors * feat(context): prevent user to not used the yup option context Co-authored-by: Kotaro Sugawara <[email protected]>
- Loading branch information
1 parent
0b5601d
commit bafb36d
Showing
3 changed files
with
219 additions
and
37 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