I need to implement a “select all” option for an Ionic 4 select list. However, I didn't find a way to fire a (click) or similar event from ion-select-option or ion-select. Any suggestions? Note that solutions for Ionic 3 don't necessarily work vor v4.
<ion-item>
<ion-label>Header</ion-label>
<ion-select [(ngModel)]="items" multiple okText="OK" cancelText="Cancel">
<ion-select-option value="all">Select all</ion-select-option>
<ion-select-option *ngFor="let item of items" [value]="item.id">{{ item.name }}</ion-select-option>
</ion-select>
</ion-item>