I'm using pipe transform on <ion-select-option *ngFor="let item of collection | myPipe:someValueToFilter" [value]="item">
and the pipe will do some filter, map and sort.
How can I set default value to selectedItem
within <ion-select [(ngModel)]="selectedItem">
in transformed collection after pipe transforming? (Let's say the first item in transformed collection)