From 68530161bd4ee561b12ef771e2bebb9ad17551f4 Mon Sep 17 00:00:00 2001 From: Nathan Sheryak Date: Sat, 23 Jan 2021 00:06:14 -0500 Subject: [PATCH] Remove debounce on dropdown column filter (#805) * fix console errors in 'npm run dev' * dropDowns use updateFiltersImmediatly --- src/components/Table.vue | 4 ++-- src/components/VgtFilterRow.vue | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/Table.vue b/src/components/Table.vue index ecec794b..a2add814 100644 --- a/src/components/Table.vue +++ b/src/components/Table.vue @@ -28,7 +28,7 @@ :nextText="nextText" :prevText="prevText" :rowsPerPageText="rowsPerPageText" - :perPageDropdownEnabled="perPageDropdownEnabled" + :perPageDropdownEnabled="paginationOptions.perPageDropdownEnabled" :customRowsPerPageDropdown="customRowsPerPageDropdown" :paginateDropdownAllowAll="paginateDropdownAllowAll" :ofText="ofText" @@ -324,7 +324,7 @@ :nextText="nextText" :prevText="prevText" :rowsPerPageText="rowsPerPageText" - :perPageDropdownEnabled="perPageDropdownEnabled" + :perPageDropdownEnabled="paginationOptions.perPageDropdownEnabled" :customRowsPerPageDropdown="customRowsPerPageDropdown" :paginateDropdownAllowAll="paginateDropdownAllowAll" :ofText="ofText" diff --git a/src/components/VgtFilterRow.vue b/src/components/VgtFilterRow.vue index 813a2604..b97d1b8c 100644 --- a/src/components/VgtFilterRow.vue +++ b/src/components/VgtFilterRow.vue @@ -30,7 +30,7 @@ :name="getName(column)" class="vgt-select" :value="columnFilters[column.field]" - @change="updateFilters(column, $event.target.value)"> + @change="updateFiltersImmediately(column.field, $event.target.value)">