I have an array selected which holds a set of selected options. I\'d like to use that array to add a disabled attribute on those options.
selected
disabled
You want to disable all options that are in the selected array?
<option v-for="option in options" :disabled="selected.includes(option.value)" :value="option.value">