Skip to content

Commit

Permalink
Tasks Module Issues
Browse files Browse the repository at this point in the history
  • Loading branch information
gevorgmansuryan committed Nov 29, 2024
1 parent e524e06 commit 02f8dd7
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion widgets/checklist/views/taskChecklistItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,15 @@

<div class="task-item-content">

<?= Html::checkBox('item[' . $item->id . ']', $item->completed, ['label' => $item->title, 'itemId' => $item->id, 'data-action-change' => 'check', 'disabled' => $disabled]); ?>
<?= Html::checkBox('item[' . $item->id . ']', $item->completed, [
'label' => $item->title,
'itemId' => $item->id,
'data-action-change' => 'check',
'disabled' => $disabled,
'labelOptions' => [
'class' => $item->completed ? 'item-finished' : '',
]
]); ?>

<span class="task-drag-icon tt" title="<?= Yii::t('TasksModule.base', 'Drag entry')?>" style="display:none">
<i class="fa fa-arrows"></i>&nbsp;
Expand Down

0 comments on commit 02f8dd7

Please sign in to comment.