I have a simple searchbar. (ionInput) works great in both android and web in debug build .
but the event never triggers in --prod build on both platforms.
Even a simple console.log() doesn’t work.
It’s a bit odd to have both double-bound ngModel and ionInput. Maybe they are competing. I’ve successfully listened to formControl.valueChanges() in production builds. So you have [formControl]=“nameOfFormControl”. You listen to the formControl Observable with a debounce.
nameOfFormControl: FormControl = new FormControl();
this.textFilter = this.nameOfFormControl.valueChanges.debounceTime(250)
.startWith('');
This has the added advantage of not using ngModel.