Description
I've tried implementing array field-level validation but I get the following error when I try to delete the last item in the array Cannot set a numeric property on an object
.
I would like to validate the FieldArray
and also each subfield in the array.
Link to the codesandox .
As a side note I've also took a look at final-form/final-form#35 but the proposed solution with record-level validation isn't working with the latest versions of the library https://codesandbox.io/s/2pnv1x052y
Also I find record-level validation much more repetitive and kind of unusable in a real app compared to having some functions for field-level validation
Metadata
Metadata
Assignees
Labels
No labels