Multiple onColumnSearch
events when user has not touched the filter field
#7726
Labels
filter-control
Issues for the filter-control extension.
help-wanted
Issues we need or would love help from the community to resolve.
Description
I have an issue that seems related to #1605. The
onColumnSearch
fires an event on page load. To work around it, I used a "loading" variable that I update after a timeout to prevent the repeated page load. Why do I have to do this and how can I make this work-around unnecessary?Example(s)
As you can see, I already suppressed multiple repeated loads by checking the search term against the previous search term.
I'm in the middle of developing this page and I have not yet set the searched term on page load, so could this be that BST is keeping track and sees the empty field and assumes it's a new search, thus triggering the reload?
The text was updated successfully, but these errors were encountered: