Reputation: 2425
I am using this auto-complete autocomplete
There are two options that are selected by default i don't want to remove those options. How can i do that in v-autocomplete?
Upvotes: 0
Views: 7919
Reputation: 2425
After 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.
Upvotes: 6