Skip to content

Pass errorSchema from ArrayField to ArrayFieldTemplate #4091

@vstenvik

Description

@vstenvik

Prerequisites

What theme are you using?

core

Is your feature request related to a problem? Please describe.

I would like to show errors inside a custom ArrayFieldTemplate, but rawErrors is undefined and the template does not get the errorSchema from the ArrayField

Describe the solution you'd like

Passing the errorSchema from ArrayField to ArrayFieldTemplate would solve this for me. However, it is not quite clear to me why the rawErrors prop is undefined. The template will contain objects, so that might be the reason?

Describe alternatives you've considered

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions