Skip to content
Discussion options

You must be logged in to vote

in v7, you will be able to do the following:

useEffect(() => {
  watch((data) => {
     if(data.test) setValue('test', 'whatever');
  })
})

Replies: 1 comment 2 replies

Comment options

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

@bluebill1049
Comment options

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