-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Description
Prerequisites
- I have read the documentation
What theme are you using?
other
What is your question?
Hello! I have a schema with deeply nested arrays. To improve the UX, I implemented a custom template ArrayFieldItemTemplate
and collapse these arrays by default. I want to access validation errors for that array item in the ArrayFieldItemTemplate
to decide between collapsing or expanding it.
ArrayFieldItemTemplateType
doesn't have the rawErrors
property. ArrayFieldTemplate
has it but doesn't contain the errors for the items themselves, which makes sense TBH. How do I access the validation errors in ArrayFieldItemTemplate
?
Thank you!