Replies: 1 comment
-
I would do that on |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Good morning.
I am using the
watch()
to get the values of several fields, so I specify the fields name insidewatch
:I could use
const multiple=watch(["field1", "field2"...."field9"])
but for now I prefer to get them isolated.Then I call a function to update an array
However I would like to keep the order of changed values by the user.
If the user change by this order one -> nine -> two. I would like to get:
result = [valueOne, valueNine, valueTwo]
instead ofresult = [valueOne, valueTwo, valueThree]
Could anyone help how to accomplish the order of changed fields?
Beta Was this translation helpful? Give feedback.
All reactions