Skip to content

Add note to Controller documentation - FE-1221 #1064

New issue

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

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

Already on GitHub? # to your account

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 force-pushed the docs-clarify-controller branch from dc2bac1 to 8f0218b Compare April 28, 2024 00:25
@mbrowne mbrowne changed the title Add note to Controller documentation Add note to Controller documentation - FE-1221 May 2, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants