v-slot:no-option
This commit is contained in:
parent
06134970c9
commit
a4b7549cd3
7 changed files with 204 additions and 99 deletions
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue