devtools icon indicating copy to clipboard operation
devtools copied to clipboard

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

Open veih14 opened this issue 2 years ago • 0 comments

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

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

veih14 avatar Oct 29 '23 06:10 veih14