Skip to content

FieldArray record level async validation not working #479

Description

@tedeschia

Are you submitting a bug report or a feature request?

Bug report

What is the current behavior?

When using record level validation and the result contains array level errors (with [ARRAY_ERROR] index), the array errors are not present in FieldArray meta.error.

What is the expected behavior?

Array level errors in async record validation must be present in the meta.error field

Sandbox Link

https://codesandbox.io/s/react-final-form-array-field-level-validation-forked-webyqs?file=/index.js
there are two forms with record level validation. the first one with async validation showing the issue, and the second one with the same validation but sync, working.

What's your environment?

FF 4.20.0

Other information

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions