Register a div tag in react hook form #9536
Unanswered
Joan-George
asked this question in
Q&A
Replies: 2 comments
-
I think it's better to build a controlled component then register on the div, not sure it will work on top of my head. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Have you managed to register on div? Having the same problem rn... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Can I register HTML tags in the react hook form other than input fields?
If possible kindly provide some examples.
I'm trying to build a component that contains search and filters the result in the form from the group of div tags and the div tags should act as an input field.
Beta Was this translation helpful? Give feedback.
All reactions