<tr>
<th scope="col">
<div class="form-check">
- <input type="checkbox" class="form-check-input" id="all-tasks" [disabled]="currentTasks.length === 0" (click)="toggleAll($event); $event.stopPropagation();">
+ <input type="checkbox" class="form-check-input" id="all-tasks" [disabled]="currentTasks.length === 0" [(ngModel)]="togggleAll" (click)="toggleAll($event); $event.stopPropagation();">
<label class="form-check-label" for="all-tasks"></label>
</div>
</th>
{
public activeTab: string
public selectedTasks: Set<number> = new Set()
+ public togggleAll: boolean = false
public expandedTask: number
public pageSize: number = 25
}
clearSelection() {
+ this.togggleAll = false
this.selectedTasks.clear()
}