<tr>
<th scope="col">
<div class="form-check m-0 ms-2 me-n2">
- <input type="checkbox" class="form-check-input" id="all-objects" [disabled]="data.length === 0" (click)="toggleAll($event); $event.stopPropagation();">
+ <input type="checkbox" class="form-check-input" id="all-objects" [(ngModel)]="togggleAll" [disabled]="data.length === 0" (click)="toggleAll($event); $event.stopPropagation();">
<label class="form-check-label" for="all-objects"></label>
</div>
</th>
private _nameFilter: string
public selectedObjects: Set<number> = new Set()
+ public togggleAll: boolean = false
ngOnInit(): void {
this.reloadData()
}
clearSelection() {
+ this.togggleAll = false
this.selectedObjects.clear()
}