mirror of
https://github.com/status-im/spiff-arena.git
synced 2025-02-27 17:00:32 +00:00
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…
x
Reference in New Issue
Block a user