Replies: 1 comment 2 replies
-
I have the same problem |
Beta Was this translation helpful? Give feedback.
2 replies
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 there,
I have a form with some fields are registered using the
register
method and some fields are registered using theController
the field which is using the
Controller
is rendering aReact-Select
component.the issue is when trying to validate onSubmit
the focus never set on the
Select
even it is the first field.it always focus on the fields registered with
register
please check the code here
https://codesandbox.io/s/determined-currying-71fy3w?file=/src/Form.jsx
Beta Was this translation helpful? Give feedback.
All reactions