<ion-item>
<ion-label>Pets</ion-label>
<ion-select multiple="true">
<ion-select-option value="p.value" *ngFor="let p of pets" selected="{{p.isSelected}}">
{{ p.name }}</ion-select-option
>
</ion-select>
</ion-item>
this.pets = [
{
value: 'bird1',
name: 'Bird1',
isSelected: true
},
{
value: 'bird2',
name: 'Bird2',
isSelected: false
},
{
value: 'abc',
name: 'Abc',
isSelected: true
}
];
Selected directive is not working properly.