angular reactive form disable all controls code example
Example 1: how to set disabled flag formgroup angular
this.form.controls['name'].disable();
// or
<input formControlName="id" placeholder="ID" [attr.disabled]="true"></input>
Example 2: can we get the value of form control after disabling it angular
this.myForm.getRawValue()