disabled mat input code example
Example: mat input disabled
<mat-form-field>
<input matInput [formControl]="inputFormControl"/>
</mat-form-field>
class YourComponent {
inputFormControl = new FormControl({ value: null, disabled: true });
this.inputFormControl.disable();
this.inputFormControl.enable();
}