This must be a very basic question but having searched for hours everywhere I can’t seem to find the solution. How can you conditionally check a radio box from within ngFor in a radio-group? For example if I wanted the first item in the list to be the one that is checked?
<ion-list radio-group [(ngModel)]="site">
<ion-item *ngFor="let website of websites; let i = index;">
<ion-radio value="{{website.site}}" [checked]="i==0"></ion-radio>
<ion-label>
Item {{i}}
</ion-label>
</ion-item>
</ion-list>
It seems that the model overrides the checked attribute. Try setting site to websites[0].site in your component constructor and losing the checked business.