0
0
Fork 0

refs #6677 fix code

This commit is contained in:
Carlos Satorres 2024-01-30 13:34:05 +01:00
parent 5c87cfc671
commit adac3bc895
2 changed files with 3 additions and 5 deletions

View File

@ -100,7 +100,6 @@ async function filter(val, options) {
}
async function fetchFilter(val) {
console.log('ENTRY PA', dataRef.value);
if (!$props.url || !dataRef.value) return;
const { fields, sortBy, limit } = $props;
@ -132,7 +131,6 @@ async function filterHandler(val, update) {
}
watch(options, (newValue) => {
console.log(newValue);
setOptions(newValue);
});
@ -148,7 +146,7 @@ watch(modelValue, (newValue) => {
:url="$props.url"
@on-fetch="(data) => setOptions(data)"
:where="where || { [optionValue]: value }"
:limit="limit || 30"
:limit="limit"
:order-by="orderBy"
:fields="fields"
/>

View File

@ -182,8 +182,8 @@ const columns = computed(() => [
</QItemLabel>
</QItemSection>
</QItem>
</template> </VnSelectFilter
>s
</template>
</VnSelectFilter>
</QTd>
</template>
<template #item="props">