added support to validate custom errors in nested properties in json schema forms
This commit is contained in:
parent
bb6dd35bbd
commit
5819b22cab
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue