Skip to content

Commit

Permalink
Remove debounce on dropdown column filter (#805)
Browse files Browse the repository at this point in the history
* fix console errors in 'npm run dev'
* dropDowns use updateFiltersImmediatly
  • Loading branch information
N8ers authored Jan 23, 2021
1 parent 4e490fd commit 6853016
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/Table.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
:nextText="nextText"
:prevText="prevText"
:rowsPerPageText="rowsPerPageText"
:perPageDropdownEnabled="perPageDropdownEnabled"
:perPageDropdownEnabled="paginationOptions.perPageDropdownEnabled"
:customRowsPerPageDropdown="customRowsPerPageDropdown"
:paginateDropdownAllowAll="paginateDropdownAllowAll"
:ofText="ofText"
Expand Down Expand Up @@ -324,7 +324,7 @@
:nextText="nextText"
:prevText="prevText"
:rowsPerPageText="rowsPerPageText"
:perPageDropdownEnabled="perPageDropdownEnabled"
:perPageDropdownEnabled="paginationOptions.perPageDropdownEnabled"
:customRowsPerPageDropdown="customRowsPerPageDropdown"
:paginateDropdownAllowAll="paginateDropdownAllowAll"
:ofText="ofText"
Expand Down
4 changes: 2 additions & 2 deletions src/components/VgtFilterRow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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)">
<option value="" key="-1">{{ getPlaceholder(column) }}</option>
<option
v-for="(option, i) in column.filterOptions.filterDropdownItems"
Expand All @@ -45,7 +45,7 @@
:name="getName(column)"
class="vgt-select"
:value="columnFilters[column.field]"
@change="updateFilters(column, $event.target.value, true)">
@change="updateFiltersImmediately(column.field, $event.target.value)">
<option value="" key="-1">{{ getPlaceholder(column) }}</option>
<option
v-for="(option, i) in column.filterOptions.filterDropdownItems"
Expand Down

0 comments on commit 6853016

Please sign in to comment.