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

Add note to Controller documentation - FE-1221 #1064

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mbrowne
Copy link

@mbrowne mbrowne commented Apr 28, 2024

I was implementing a feature recently where I needed to control the value of a dropdown menu via a state variable that existed outside the form. I eventually realized the most efficient way to do this was to use the values option of useForm. This PR adds a note to hopefully make that clearer for others.

Copy link

vercel bot commented Apr 28, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-hook-form-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 28, 2024 0:25am

@mbrowne mbrowne changed the title Add note to Controller documentation Add note to Controller documentation - FE-1221 May 2, 2024
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

Successfully merging this pull request may close these issues.

None yet

1 participant