我正在做一个编辑表单,绑定来自后台的数据后,表单的状态是无效的,但是所有的字段都是有效的,该如何解决?
createGerconForm(): FormGroup
{
return this._fb.group({
anexoGercon: new FormControl(),
email: new FormControl('', Validators.required),
name: new FormControl('', Validators.required),
cpf: new F
有没有办法让表单控件挂钩MatAutoCompleteDisabled的状态,而不是像下面的示例那样轮询它。我正在寻找类似于formControl.ValueChanges的东西
//Looking for alternate on this one
[MatAutoCompleteDisabled] = "isDisabled()"