How should I clear the searchbar input programmatically? it look like the clearInput
method is removed in ionic 4.
please check Following doc :-
(ionCancel)="onCancel($event) method call in home.page.ts file
public myInput:any; // declare globaly
onCancel(){
this.myInput=""
}