Skip to content

Commit

Permalink
Fixed typo (#1518)
Browse files Browse the repository at this point in the history
  • Loading branch information
clemens-tolboom authored and jaredpalmer committed May 17, 2019
1 parent c63d38f commit 47af0f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/fieldarray.md
Expand Up @@ -131,7 +131,7 @@ const schema = Yup.object().shape({

Since Yup and your custom validation function should always output error messages as strings, you'll need to sniff whether your nested error is an array or a string when you go to display it.

So...to display `'Must have friends'` and `'Minimum of 3 friends'` (our example's array validation contstraints)...
So...to display `'Must have friends'` and `'Minimum of 3 friends'` (our example's array validation constraints)...

**_Bad_**

Expand Down

0 comments on commit 47af0f4

Please sign in to comment.