Skip to content

Are there any example of using RadioButtonGroup with react-hook-form ? #1482

Answered by vankhoawin
jaymehta-twilio asked this question in Q&A
Discussion options

You must be logged in to vote

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 into RadioGroup.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@TheSisb
Comment options

Answer selected by SiTaggart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants