From 02f8dd7eadd539df9daa41b5767975e61401ed7f Mon Sep 17 00:00:00 2001 From: gevorgmansuryan Date: Sat, 30 Nov 2024 01:31:47 +0400 Subject: [PATCH] Tasks Module Issues --- widgets/checklist/views/taskChecklistItem.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/widgets/checklist/views/taskChecklistItem.php b/widgets/checklist/views/taskChecklistItem.php index 6800e441..874a8e0e 100644 --- a/widgets/checklist/views/taskChecklistItem.php +++ b/widgets/checklist/views/taskChecklistItem.php @@ -25,7 +25,15 @@
- id . ']', $item->completed, ['label' => $item->title, 'itemId' => $item->id, 'data-action-change' => 'check', 'disabled' => $disabled]); ?> + id . ']', $item->completed, [ + 'label' => $item->title, + 'itemId' => $item->id, + 'data-action-change' => 'check', + 'disabled' => $disabled, + 'labelOptions' => [ + 'class' => $item->completed ? 'item-finished' : '', + ] + ]); ?>