diff --git a/lib/zin/wg/thinkcheckbox/v1.php b/lib/zin/wg/thinkcheckbox/v1.php index 712aca372b..33eddb2ff9 100644 --- a/lib/zin/wg/thinkcheckbox/v1.php +++ b/lib/zin/wg/thinkcheckbox/v1.php @@ -18,6 +18,11 @@ class thinkCheckbox extends thinkRadio 'maxCount?: string', ); + protected static array $defaultProps = array + ( + 'type' => 'checkbox' + ); + protected function buildBody(): array { $items = parent::buildBody();