Email Source: stackoverflow.com disable input angular Source: stackoverflow.com disable input angular set isDisabled(value: boolean) { this._isDisabled = value; if(value) { this.form.controls['name'].disable(); } else { this.form.controls['name'].enable(); } } Source: stackoverflow.com
set isDisabled(value: boolean) { this._isDisabled = value; if(value) { this.form.controls['name'].disable(); } else { this.form.controls['name'].enable(); } }