Skip to content

FieldArray is never pristine again #25

Closed
@maciejmyslinski

Description

@maciejmyslinski

Are you submitting a bug report or a feature request?

bug report

What is the current behavior?

When empty '' initial value is present, Array Fields are never pristine again like normal Fields.

Steps to reproduce:

  1. Enter some value into the usual field, then revert the change. The field is pristine.
  2. Enter some value into Fruit Fix package naming #1 field. Revert the change. The field is pristine.
  3. Enter some value into Fruit Fix links to package #2 field. Revert the change. The field is NOT pristine.

What is the expected behavior?

I would expect Fruit #2 field to be pristine.

Sandbox Link

Edit 🐛 Field Array never pristine again

What's your environment?

package version
final-form 4.11
react-final-form 4.0.2
final-form-arrays 1.1.1
react-final-form-arrays 2.0.1

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