How to disable a input in angular2 November 12, 2022 by Tarik Try using attr.disabled, instead of disabled <input [attr.disabled]="disabled ? '' : null"/>