When adding a new item in ArrayList, yup's test
is called with an undefined value in Formik v2
#2197
Labels
test
is called with an undefined value in Formik v2
#2197
馃悰 Bug report
Current Behavior
When adding a new item in
ArrayList
, yup'stest
is called with anundefined
value. This is not true on1.5.8
version.Expected behavior
According to the
1.5.8
version, thetest
should be being called with an empty value.Reproducible example
Try to add a new item in an
ArrayField
and see the errors in the console.The same example in both Formik's version:
1.5.8 - not showing errors in the console
2.1.1 - showing errors in the console
Your environment
The text was updated successfully, but these errors were encountered: