You may try this one. It will not show the console.warning also <select id="segType" formControlName="segment" (focus)="uccDetals(i)" (change)="changeSegmentss($event, i)" class="form-control td" [attr.disabled]="selectDisable ? 'disabled' : null">