When presented with two arrays of options, users must select an option from each array.
==> first array: [ orange, green, yellow ] ==> second array: [ orange, green, yellow ]
The challenge is to update the second array based on the user's selection in the first array. For example, if a user selects "green" in the first input:
==> first array: "green" (selected) ==> second array: [orange, yellow] (options not selected in the first array)
I am new to Vue3 and unsure how to achieve this. Any help would be appreciated!