disable element angular code example
Example 1: disable input angular
<input [readonly]="this.isEditable"
type="text"
formControlName="reporteeName"
class="form-control"
placeholder="Enter Name" required>
Example 2: how to disable a div in angular
<div [ngClass]="{'class1': condition,}"></div>
// your .css file
.disable{
pointer-events:none;
}