标签: angular angular2-forms angular-reactive-forms
在anguarl ReactiveForms中
ngOnInit() { this.formGroup= this.fb.group({ name : [''], or name : new FormControl() });