added support to validate custom errors in nested properties in json schema forms
This commit is contained in:
parent
9a45183267
commit
bc59ae520e
|
@ -168,6 +168,13 @@ export default function TaskShow() {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
// recurse through all nested properties as well
|
||||
getFieldsWithDateValidations(
|
||||
propertyMetadata,
|
||||
formData[propertyKey],
|
||||
errors[propertyKey]
|
||||
);
|
||||
});
|
||||
}
|
||||
return errors;
|
||||
|
|
Loading…
Reference in New Issue