<div class="FttTransferApply">
<div>
<label>
<input #female name="gender" type="radio" value="Female" (click)="gender=female.value"/>
</label>
</div>
</div>
import {Component} from '@angular/core';
@Component({
selector: 'input-controls',
templateUrl: './components/input-controls/input-controls.html'
})
export class InputControls {
gender:string;
}
单选按钮不使用angular2显示。我想使用Angular2显示单选按钮