标签:tor color disabled word angular cto from col disable
import { FormBuilder } from ‘@angular/forms‘; form; constructor(private fb: FormBuilder) { this.form = fb.group({ Name: ‘‘, Account: ‘‘, Password: ‘‘ }); } this.form.disable(); this.form.controls[‘Account‘].disable(); this.form.controls[‘Password‘].disable();
解决[disabled]="true"与formControlName冲突
标签:tor color disabled word angular cto from col disable
原文地址:https://www.cnblogs.com/yuyedaocao/p/10981242.html