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 bb6dd35bbd
commit 5819b22cab
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; return errors;