Skip to content

issue: useForm with values parameter doesn't work with hook Devtools #203

Description

@veih14

Version Number

7.47.0

Codesandbox/Expo snack

https://codesandbox.io/p/sandbox/heuristic-babycat-cv9mhj?embed=1&file=%2Fsrc%2Findex.jsx%3A19%2C4

Steps to reproduce

  1. Go to the CodeSandBox link
  2. Notice the values don't get populated when the API is returned
  3. But if you comment out hook forms DevTool then the input will be populated with the correct API return value

Expected behaviour

Values parameter from useForm should update the form values once the query has been completed.

What browsers are you seeing the problem on?

Chrome

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

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