0

I have an options array with the same label but different value. But vue-select only allows one option to be selected.

 <v-select v-model="selectedData" multiple options="[{
        id:1,
        label: 'New York'
      }, {
        id:2,
        label : 'New York'
      }]">

As per the above snip, I want to select both the options but I am only able to select one of them. I tried reduce prop based on id, but it only filtered the selected value.

How can it be achieved? (reference)

https://codepen.io/aniket_777/pen/QWweZbE

Community
  • 1
  • 1
was_777
  • 599
  • 1
  • 9
  • 28

0 Answers0