added support to validate custom errors in nested properties in json schema forms

This commit is contained in:
jasquat 2023-02-22 08:50:55 -05:00
parent 9a45183267
commit bc59ae520e
No known key found for this signature in database
1 changed files with 7 additions and 0 deletions

View File

@ -168,6 +168,13 @@ export default function TaskShow() {
}
}
}
// recurse through all nested properties as well
getFieldsWithDateValidations(
propertyMetadata,
formData[propertyKey],
errors[propertyKey]
);
});
}
return errors;