I have the following v-select:
<v-select
flat
dense
outlined
multiple
small-chips
deletable-chips
hide-details
v-model='chosenStrings'
label='Strings'
:items='strings'
:menu-props='{nudgeBottom: 40}'
>
<template v-slot:append>
<v-icon>
mdi-chevron-down
</v-icon>
</template>
</v-select>
And this is my data:
strings: ['a', 'b', 'c', 'd'],
chosenStrings: ['d']
I can't figure out a way to make it have at least one item always selected. Perhaps make an item disabled if it's the only one selected.
I don't see a required
prop in the documentation. Tried to use item
slot and provide my own v-list-item
, but guess didn't do something right, as it also failed.
Any suggestions, please?