fix: refs #8197 vnTableFilter in vnTable

This commit is contained in:
Alex Moreno 2024-12-16 12:26:41 +01:00
parent 18fd41b82b
commit 0ab12d7b5d
1 changed files with 10 additions and 4 deletions

View File

@ -305,11 +305,17 @@ function handleSelection({ evt, added, rows: selectedRows }, rows) {
}
</script>
<template>
<VnTableFilter
<QDrawer
v-if="$props.rightSearch"
:data-key="$attrs['data-key']"
:columns="columns"
/>
v-model="stateStore.rightDrawer"
side="right"
:width="256"
show-if-above
>
<QScrollArea class="fit">
<VnTableFilter :data-key="$attrs['data-key']" :columns="columns" />
</QScrollArea>
</QDrawer>
<CrudModel
v-bind="$attrs"
:class="$attrs['class'] ?? 'q-px-md'"