Fixed custom apply filter

pull/1021/head
Cagatay Civici 2021-02-18 12:09:27 +03:00
parent 92b375359e
commit 8da5caa2a3
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@
<component v-else :is="filterClearTemplate" :field="field" :filterModel="filters[field]" :filterCallback="clearFilter" />
<template v-if="showApplyButton">
<CFButton v-if="!filterApplyTemplate" type="button" class="p-button-sm" @click="applyFilter()" :label="applyButtonLabel"></CFButton>
<component v-else :is="filterApplyTemplate" :field="field" :filterModel="filters[field]" :filterCallback="clearFilter" />
<component v-else :is="filterApplyTemplate" :field="field" :filterModel="filters[field]" :filterCallback="applyFilter" />
</template>
</div>
</template>