Просто вставьте в выбранные itens все идентификаторы itens
constructor(private ngZone: NgZone){
}
selectAllItems() {
if (!selectAll) {
this.ngZone.run(() => {
for (let item of items) {
this.selectedItems.push(item.id)
this.selectAll = true;
}
})
} else {
this.selectedItems = [];
this.selectAll = false;
}
А при выборе поставить значение selectAll
<ion-option (ionSelect)="selectAllItems()" [value]="selectAll">
Select All
</ion-option>