You shouldn't need those (click)
events (unless that function is doing something other than changing the value of status
), we have a sample radio group in our tests that looks similar without the click events:
<ion-list radio-group [(ngModel)]="relationship">
<ion-radio value="friends">Friends</ion-radio>
<ion-radio value="enemies">Enemies</ion-radio>
</ion-list>
<div padding>
<code><b>relationship:</b> {{relationship}}</code>
</div>
For the initial post, @icarus_31 do you have it wrapped in a <ion-list radio-group>
with a ngModel
?
Either way, I was able to reproduce the problem. Just want as many details as possible.
Created an issue for this here: https://github.com/driftyco/ionic2/issues/829