I was able to get the values using RadioButtonState.
https://angular.io/docs/ts/latest/api/common/index/RadioButtonState-class.html
Template
<div>
<h1>form test</h1>
{{isAdminYes.checked}}
<form [ngFormModel]="regForm">
<input type="radio" ngControl="isAdmin" name="isAdmin" [checked]="true" [(ngModel)]="isAdminYes" > Yes
<input type="radio" ngControl="isAdmin" name="isAdmin" [(ngModel)]="isAdminNo" > No
</form>
</div>
Component
export class App {
public isAdminYes : RadioButtonState = new RadioButtonState(true, "yes");
public isAdminNo : RadioButtonState = new RadioButtonState(false, "no");
constructor() {
this.regForm = new ControlGroup({
isAdmin: new Control(true)
});
}
}
Working plunker
http://plnkr.co/edit/NnT8uRAr3xjxKB1hYfxT?p=preview
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…