From e85e131ea8384873bd5bd920810fd2dbf864b7d5 Mon Sep 17 00:00:00 2001 From: Katherine Date: Thu, 24 Oct 2024 13:08:07 +0800 Subject: [PATCH] fix: improve display of unchecked fields (#5503) --- .../core/client/src/schema-component/antd/checkbox/Checkbox.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/client/src/schema-component/antd/checkbox/Checkbox.tsx b/packages/core/client/src/schema-component/antd/checkbox/Checkbox.tsx index 46dd9e77dd..327f46bbda 100644 --- a/packages/core/client/src/schema-component/antd/checkbox/Checkbox.tsx +++ b/packages/core/client/src/schema-component/antd/checkbox/Checkbox.tsx @@ -37,7 +37,7 @@ const ReadPretty: FC = (props) => { if (props.value) { return ; } - return props.showUnchecked ? : null; + return props.showUnchecked ? : ; }; export const Checkbox: ComposedCheckbox = connect(