Skip to content

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.

@vercel
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants