📌  相关文章
📜  获取 formcontrol 值 - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:34.433000             🧑  作者: Mango

代码示例1
this.loginForm = new FormGroup({
  'email': new FormControl('', { validators: [Validators.required] })
});
// get like this
const { email } = this.loginForm.value;