Skip to content
Discussion options

You must be logged in to vote

getValues:

An optimized helper for reading form values. The difference between watch and getValues is that getValues will not trigger re-renders or subscribe to input changes.

Important: You shouldn't use this method inside render. This is suitable for reading values in an event handler.

If you want to subscribe to each input change, use watch.

Your approach looks fine. :)

Replies: 1 comment 3 replies

Comment options

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

@bluebill1049
Comment options

@kintz09
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
2 participants