Skip to content

What is necessary to make a checkbox component work with Controller? #2071

Answered by bluebill1049
bartylla asked this question in Q&A
Discussion options

You must be logged in to vote

controller's name need to be unique. you may want to build a wrapper component like MUI: https://codesandbox.io/s/react-hook-form-v6-controller-qsd8r take a look the radio group.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@bartylla
Comment options

@bartylla
Comment options

@bluebill1049
Comment options

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