Skip to content

Commit 4f04c34

Browse files
ceolterceolter
ceolter
authored and
ceolter
committed
Merge remote-tracking branch 'origin/latest' into latest
2 parents a49b66d + 932334b commit 4f04c34

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/ag-grid-community/src/ts/filter/baseFilter.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,8 +381,10 @@ export abstract class BaseFilter<T, P extends IFilterParams, M> extends Compone
381381
}
382382

383383
public getDebounceMs(filterParams: ITextFilterParams | INumberFilterParams): number {
384-
if (filterParams.applyButton && filterParams.debounceMs) {
385-
console.warn('ag-Grid: debounceMs is ignored when applyButton = true');
384+
if (this.applyActive) {
385+
if (filterParams.debounceMs != null) {
386+
console.warn('ag-Grid: debounceMs is ignored when applyButton = true');
387+
}
386388
return 0;
387389
}
388390
return filterParams.debounceMs != null ? filterParams.debounceMs : 500;

0 commit comments

Comments
 (0)