+ zin: add the defaultProps of thinkcheckbox wg.

This commit is contained in:
wangzemei
2024-04-19 17:06:39 +08:00
parent 4506f8bf6a
commit 4344ae268a
+5
View File
@@ -18,6 +18,11 @@ class thinkCheckbox extends thinkRadio
'maxCount?: string',
);
protected static array $defaultProps = array
(
'type' => 'checkbox'
);
protected function buildBody(): array
{
$items = parent::buildBody();