Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task done
veih14 opened this issue Oct 29, 2023 · 0 comments
Open
1 task done

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

veih14 opened this issue Oct 29, 2023 · 0 comments

Comments

@veih14
Copy link

veih14 commented Oct 29, 2023

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
@Moshyfawn Moshyfawn transferred this issue from react-hook-form/react-hook-form Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant