Are there any example of using RadioButtonGroup with react-hook-form ? #1482
Answered
by
vankhoawin
jaymehta-twilio
asked this question in
Q&A
-
Hi, We've been using react-hook-form for the console. I was wondering if you've any good example of how can I wrap the RadioButtonGroup within Below is my code. The required onChange on RadioGroupButton is kind of hijacks the selection.
|
Beta Was this translation helpful? Give feedback.
Answered by
vankhoawin
May 24, 2021
Replies: 1 comment 1 reply
-
disclaimer: not on the DSYS team, but this is react-hook-form-paste's solution (react-hook-form version the TL;DR you should be able to pass in the render props from |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
SiTaggart
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
disclaimer: not on the DSYS team, but this is react-hook-form-paste's solution (react-hook-form version
^6.13.1
):Source Code
Storybook
the TL;DR you should be able to pass in the render props from
Controller
intoRadioGroup
.