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

[bug]: react-hook-form 7.55.0 (latest) breaks my command component when updating from 7.54.2 #7103

Open
2 tasks done
dejoma opened this issue Apr 1, 2025 · 0 comments
Open
2 tasks done
Labels
bug Something isn't working

Comments

@dejoma
Copy link

dejoma commented Apr 1, 2025

Describe the bug

I have a search select component,

form.clearErrors now actually.. clears even the actual input too?

Affected component/components

Command

How to reproduce

I have a search select component,

form.clearErrors now actually.. clears even the actual input too?

Codesandbox/StackBlitz link

No response

Logs

System Info

Happens when react-hook-form gets updated from 7.54.2 to 7.55.

the form.clearErrors now also resets the controlled input.

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues
@dejoma dejoma added the bug Something isn't working label Apr 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant