Skip to content

Form is reset if setState is called in a Component #391

Open
@fabarea

Description

@fabarea

Documentation read, yes!

Description

It looks the form is (wrongly) reset if some internal state changes within a component. Consider the following example https://jsfiddle.net/fab1en/954uLrrL/1/

  1. Edit the form
  2. Hit the second button which update some foo internal state
  3. Notice how the original value is reset in the form.

Form should not be reset like that. Am I missing something?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions