Replies: 1 comment 1 reply
-
The following CSB was partially brought over from your CSB without all the other side dependencies.
https://codesandbox.io/s/exciting-bas-zq6bk?file=/src/App.js There are couple of issues with your usage, I would recommend you refer more to the doc. Here are some of my recommendations:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello i come from twitter.
Here is a reproducible sample of the form:
Link to Sandbox
After troubleshooting with the RadioButton custom component. I ran into a new problem; I have registered all the required fields, the RadioButtons at the beginning are one of these required fields.
If a user tries to submit the form without selecting either of the two options, the focus is set on one of the text fields and not on the RadioButtons. The same happens with the react-select fields, react-hook-form ignores them and does not focus on them
Beta Was this translation helpful? Give feedback.
All reactions