disabled angular formcontol group code example
Example: how to set disabled flag formgroup angular
this.form.controls['name'].disable();
// or
<input formControlName="id" placeholder="ID" [attr.disabled]="true"></input>
this.form.controls['name'].disable();
// or
<input formControlName="id" placeholder="ID" [attr.disabled]="true"></input>