I have a very simple html, only containing
<input type="checkbox" value="{{ member.firstName }}" (click)="tick($event)" ng-disabled="true" />
and yet the ng-disabled
doesn't work, i.e. checkbox remains enabled.
If I change it to:
<input type="checkbox" value="{{ member.firstName }}" (click)="tick($event)" disabled />
it works, i.e. the checkbox is disabled.
What is wrong with the first line?