Ionic 4 - debounce attribute of ion-searchbar does not work

Hi everyone,

the attribute debounce of ion-searchbar doesn’t have any effect in ionic 4.

my code looks like:


Does anyone know how to fix it?

Best regard.

The ionInput is the problem, in ionic 4 the debounce effects ionChange, not ionInput.


From the documentation:

debounce: Set the amount of time, in milliseconds, to wait to trigger the ionChange event after each keystroke.

1 Like