-
Notifications
You must be signed in to change notification settings - Fork 72
Open
Labels
Description
Lines 92 to 99 in b2fe10c
this._filterDebouncer = Debouncer.debounce(this._filterDebouncer, timeOut.after(500), () => { | |
if (serverFacade.getLastFilterSentToServer() === params.filter) { | |
// Fixes the case when the filter changes | |
// to something else and back to the original value | |
// within debounce timeout, and the | |
// DataCommunicator thinks it doesn't need to send data | |
serverFacade.needsDataCommunicatorReset(); | |
} |
I have a very long query for DataProvider. It is necessary that the filter does not react immediately when entering and allows the user to enter more characters. 500 milliseconds is very short. You need to be able to change this parameter using "getElement().setProperty(...."
vaadin 23.3.33