Skip to content

Field validation goes before removing field from array #72

Open
@serhey-88

Description

@serhey-88

Bug report

What is the current behavior?

Using final-form-arrays of all the versions above 1.1.2 the validation on the field goes before the field was removed from array. So it shows incorrect result on UI.

Example

Steps to reproduce:

  1. Add 2 or more Customers
  2. Check all 'Has required fields' checkboxes
  3. Click on submit button
  4. Remove the first customer (red cross)

Expected result: All validation errors for the rest of the fields are shown

Actual result: No validation erros are shown

Other information

When using version 1.1.2, it works as expected.

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