Ionic4 ion-select with objects

In v3 we had the compareWith on ion-selects that allowed us to put our own comparison method in place to handle objects etc.

Whats the best way to do this now in v4 that compareWith is missing?

Hi @Slavrix :wave:

Yeah, I reported this a while back in issue #14598 and a contributor has recently posted PR #17358 to add compareWith back. As a workaround I’m using the select component from Angular Material (not the same thing, I know).

Let’s hope the changes are OK and they get merged soon.




I am using Ionic 4 version and trying to exit app using but it shows error app is undefined. Please help me out from the issue