Closed HeadStudios closed 1 year ago
hey @HeadStudios , you can fix this issue by doing following way hope it will helps you,
Make options array with label & value like this and pass to options props
options: [ { label: 'Batman', value: 'Batman' }, { label: 'Robin', value: 'Robin' }, { label: 'Joker', value: 'Joker' }, ],
true
to multiselect
here is full code which seems to work as expected:
<template>
<Multiselect
v-model="value"
class="custom-multiselect"
mode="tags"
:close-on-select="false"
:options="options"
:object="true"
@click.stop
/>
</template>
Below is my code how do I set 'joker' for example to be default value?