Skip to content
Discussion options

You must be logged in to vote

here you go: https://codesandbox.io/s/damp-sound-dlyuc

couples things:

  • defaultValue should be at Controller or at useForm with defaultValues
  • onChagne from Controller should be wire up with your component
  • mode should be changed to onChange

worth to spend some times with the doc, they are all documented.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@davidshare
Comment options

@bluebill1049
Comment options

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