Skip to content

How to change other input value properly #1977

Answered by keiya01
pimmee asked this question in Q&A
Discussion options

You must be logged in to vote

Thank you for using react-hook-form.

About 1, 2:

  1. I think you don't need to invoke setValue in roles props.(https://codesandbox.io/s/reverent-proskuriakova-5u4sx)
  2. I think this issue is resolved by above solution

Replies: 1 comment 10 replies

Comment options

You must be logged in to vote
10 replies
@bluebill1049
Comment options

@pimmee
Comment options

@pimmee
Comment options

@bluebill1049
Comment options

@pimmee
Comment options

Answer selected by bluebill1049
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