v-slot:no-option

This commit is contained in:
setthawutttty 2023-10-09 09:42:55 +07:00
parent 06134970c9
commit a4b7549cd3
7 changed files with 204 additions and 99 deletions

View file

@ -185,7 +185,15 @@ const filterSelector = (val: any, update: Function, name: any) => {
@update:model-value="updateSelect"
@filter="(inputValue:any,doneFn:Function) =>
filterSelector(inputValue, doneFn,'selectList') "
/>
>
<template v-slot:no-option>
<q-item>
<q-item-section class="text-grey">
ไมอม
</q-item-section>
</q-item>
</template>
</q-select>
</q-form>
<q-space />
<div class="q-pa-ms q-gutter-sm" style="padding: 0">