I am using this auto-plete autoplete
There are two options that are selected by default i don't want to remove those options. How can i do that in v-autoplete?
I am using this auto-plete autoplete
There are two options that are selected by default i don't want to remove those options. How can i do that in v-autoplete?
Share Improve this question edited Oct 25, 2018 at 10:36 Sam asked Oct 25, 2018 at 10:34 SamSam 2,4259 gold badges35 silver badges53 bronze badges 3- The Code Pen link is blank! – Hamza Abdaoui Commented Oct 25, 2018 at 10:36
-
Don't add
close
inv-chip
for first 2 entry? – William Chong Commented Oct 25, 2018 at 10:59 -
i remove the
close
pletely but still i can unselect the options, and i can use the backspace as well to remove those selected options. – Sam Commented Oct 25, 2018 at 11:03
1 Answer
Reset to default 6After the investigation, i got the solution to this. Just need to modify the items
{ name: 'test', disabled: true }
Just pass the disabled: true
, it will disable the options so that you cannot select and cannot be removed if that option is already selected.