Skip to content
Discussion options

You must be logged in to vote

Try storing and utilizing the value using destructuring assignment. It will be a better experience than that.

const [date,comment] = watch(["date", "comment"]);
const values = { date, comment };

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hdale94
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
waiting-up-vote Waiting for votes from the community. feature request request a feature to be added
2 participants
Converted from issue

This discussion was converted from issue #11485 on February 09, 2024 11:40.