Angular 2个表格;收音机的 ngFormControl 和 select

Angular 2 forms; ngFormControl for radio and select

我正在 Angular 制作应用程序,目前正在处理表单部分。在自定义 ngFormModel 的帮助下,我可以通过以下简单的验证生成每个定义的表单:

<form [ngFormModel]="customForm" (ngSubmit)="updateUser()">
<input [ngFormControl]="customForm.controls['name']" type="text">
<input [ngFormControl]="customForm.controls['email']" type="text>
            <button *ngIf="customForm.dirty" type="submit">Save</button>
</form>

这非常棒,我的预定义表单的默认值会自动显示,当我提交值时我的表单会更新。我无法获得输入类型 radio 和 select up 以及 运行 ngFormControl。 Angular 2 中是否不支持开箱即用?这不是表单的一个非常基本的部分吗?

编辑:可能与显示表单的生成方式有关:

this.customForm = this.form.group({
    'name': [this.user.first_name],
    'email': [this.user.email]});

收音机输入尚未得到很好的支持,存在各种已知问题。 另见 https://github.com/angular/angular/issues/8107 or https://github.com/angular/angular/search?q=radio&state=open&type=Issues&utf8=%E2%9C%93