From 3d59be2b3b30837b1bbdd607686ad3c68f7ac62c Mon Sep 17 00:00:00 2001 From: catchonme Date: Tue, 28 May 2019 15:27:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=20checkboxes=20=E4=B8=ADopti?= =?UTF-8?q?ons=E9=95=BF=E5=BA=A6=E4=B8=8D=E6=98=AFcolumnsCount=E6=95=B4?= =?UTF-8?q?=E6=95=B0=E5=80=8D=E6=97=B6=E6=9C=80=E5=90=8E=E4=B8=80=E5=88=97?= =?UTF-8?q?=E5=B8=83=E5=B1=80=E4=B8=8D=E4=B8=80=E8=87=B4=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderers/Form/Checkboxes.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderers/Form/Checkboxes.tsx b/src/renderers/Form/Checkboxes.tsx index 16dd9bdfc..4ac185b20 100644 --- a/src/renderers/Form/Checkboxes.tsx +++ b/src/renderers/Form/Checkboxes.tsx @@ -82,8 +82,8 @@ export default class CheckboxesControl extends React.Component (
- {group.map((item, index) => ( -
{item}
+ {Array.from({length: columnsCount as number}).map((_, index) => ( +
{group[index]}
))}
));