I am using below code:
<multiselect v-model="selectedmultiSpecialistName"
placeholder="Select Quality Specialist"
:options="specialistInfo"
:label="specialistName"
:close-on-select="false"
:multiple="true"
></multiselect>
data() {
return {
selectedmultiSpecialistName:[],
specialistInfo: [ {
"specialistName": "Andrew Malizia",
"specialistCode": "AMalizi1"
},
{
"specialistName": "Antony Aemisegger",
"specialistCode": "AAemise"
}],
}
}
Issue is on selecting any value from the drop-down it shows up in the multi select box but i am not able to deselect it either by cross or by deselecting it from the drop-down itself. Can someone please help ?
You have to use
track-by
to solve this problem.Here is the solution.