Angular 5, HTML, boolean on checkbox is checked
You can use this:
<input type="checkbox" [checked]="record.status" (change)="changeStatus(record.id,$event)">
Here, record is the model for current row and status is boolean value.
try:
[checked]="item.checked"
check out: How to Deal with Different Form Controls in Angular