react-hook-form / documentation

📋 Official documentation
http://react-hook-form.com
MIT License
724 stars 1.04k forks source link

Add note to Controller documentation - FE-1221 #1064

Open mbrowne opened 6 months ago

mbrowne commented 6 months ago

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[bot] commented 6 months ago

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