Skip to content

asynchronous field-level validation triggers validating when add/remove array items #168

Description

@jaryway

Are you submitting a bug report or a feature request?

bug report

What is the current behavior?

field(firstName) valitdating state become true,when add/remove array item.

What is the expected behavior?

don't change field state when add/remove array item.

Sandbox Link

https://codesandbox.io/s/new-waterfall-vhlw2?file=/index.js

What's your environment?

{
    "final-form": "4.20.6",
    "final-form-arrays": "3.0.2",
    "react": 17.0.2",
    "react-dom": "17.0.2",
    "react-final-form": "6.5.7",
    "react-final-form-arrays": "3.1.3",
}

Other information

Form and FieldArray has already set to `subscription={{}}. how can i to stop validating firstName field.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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