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: reset not working with Controller when shouldUnregister is true #7011

Closed
1 task done
vimutti77 opened this issue Nov 10, 2021 · 0 comments
Closed
1 task done
Labels
regression Regression with code change

Comments

@vimutti77
Copy link

Version Number

7.19.2

Codesandbox/Expo snack

https://codesandbox.io/s/react-hook-form-focus-forked-2bbjn?file=/src/index.js

Steps to reproduce

  1. Go to https://codesandbox.io/s/react-hook-form-focus-forked-2bbjn?file=/src/index.js
  2. Click on reset button
  3. Value of controlled input is changed to undefined

Expected behaviour

Value of controlled input is changed to control

What browsers are you seeing the problem on?

Edge

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@vimutti77 vimutti77 added the status: under investigation aware of this issue and pending for investigation label Nov 10, 2021
@bluebill1049 bluebill1049 added regression Regression with code change and removed status: under investigation aware of this issue and pending for investigation labels Nov 10, 2021
bluebill1049 added a commit that referenced this issue Nov 10, 2021
@bluebill1049 bluebill1049 removed their assignment Nov 16, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
regression Regression with code change
Projects
None yet
Development

No branches or pull requests

2 participants