Skip to content

Resetting a form doesn't clear meta.modified #317

Description

@ArnaudWeyts

Are you submitting a bug report or a feature request?

Bug report

What is the current behavior?

The meta.modified field does not get reset anymore after manually calling form.reset or form.initialize.

In the sandbox below; type something in the input and submit it, you'll see from the console logs that after the reset, meta.modified is still true.

What is the expected behavior?

The meta.modified field is set to false after resetting.

Sandbox Link

https://codesandbox.io/s/practical-grothendieck-72vgp

What's your environment?

Introduced in final form version 4.18.7

Other information

I suspect this is due to the changes from #301

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