I would like to know if I am the only one that noticed that when calling a function for keypress or keyup, the first time the character entered is not returned. The second character entered will trigger again the function, but with the previous character.
<ion-searchbar primary [(ngModel)]="searchQuery" (keyup)="updateList()" show-cancel="true" placeholder="Search"> </ion-searchbar>
If I change it for “input” instead of “keyup” it works. Normal behavior?