singleLabel slot can not read nested property
DarkMode1426 opened this issue · comments
>
<span slot="noResult">Oops! No elements found. Consider changing the search query.</span>
<template v-slot:singleLabel="{ option }">
<div>{{ option.machinery.en_name }}</div>
</template>
<template v-slot:option="{ option }">
<div>{{ option.machinery.en_name }} <br>Batch No: {{ option.batchNo }}</div>
</template>
</multiselect>
For this code option slot can read the nested property which is en_name, but the singleLabel slot throws an undefined error.