diff --git a/lib/zin/wg/thinkbasecheckbox/v1.php b/lib/zin/wg/thinkbasecheckbox/v1.php index 38cd5f4f07..2703855c77 100644 --- a/lib/zin/wg/thinkbasecheckbox/v1.php +++ b/lib/zin/wg/thinkbasecheckbox/v1.php @@ -97,6 +97,7 @@ class thinkBaseCheckbox extends wg return div ( setData('type', $this->prop('type')), + set::title(!empty($item['title']) ? $item['title'] : null), !$disabled ? on::click('toggleChecked') : null, setClass('item-control w-full py-2 px-3 flex gap-3 items-center justify-between border cursor-pointer rounded ' . $itemClass), div(setClass('text-md flex-1 break-all'), $text),