Skip to content

Fieldnames as array don't work when nested fields change #27

@nik-lampe

Description

@nik-lampe

Are you submitting a bug report or a feature request?

Bug Report

What is the current behavior?

When the field to watch for is an object, the calculation does not fire, when the fieldname is provided as a string in an array.
It does work, when the name is provided as a string without the array or when it's provided as a regex in an array.

What is the expected behavior?

It should also fire when the fieldname is a string in an array.

Sandbox Link

https://codesandbox.io/s/001kqmlm30

What's your environment?

"final-form": "4.12.0",
"final-form-calculate": "1.3.1",

See the sandbox.

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