-
- {#each checklistItems.slice(0, 8) as item}
+ {#each checklistItems.slice(0, 8) as item, index}
- - + { e.stopPropagation(); toggleChecklistItem(index); }} + class="h-3.5 w-3.5 rounded border-[var(--border-subtle)] text-[var(--primary)] cursor-pointer" + data-testid="card-checklist-checkbox" + /> {item.text} {/each}