Hey, I know that this part of the documention exists, but there's nothing about yup there. I though that just having an array.of(myCustomObjectSchemaHere) and then using yupResolver on useForm would work, but no luck here, it just doesn't validate the form at all with that. It works fine when having something like this:
validate: {
user: {
name: (value) => (value.length < 2 ? 'Name is too short' : null),
occupation: (value) => (value.length < 2 ? 'Occupation is too short' : null),
},
},