From c86b1efdf7ceebda6dcc664241e6e071df661707 Mon Sep 17 00:00:00 2001 From: Katherine Date: Fri, 6 Dec 2024 12:04:38 +0800 Subject: [PATCH] fix: select readPretty (#5807) --- .../core/client/src/schema-component/antd/select/ReadPretty.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/client/src/schema-component/antd/select/ReadPretty.tsx b/packages/core/client/src/schema-component/antd/select/ReadPretty.tsx index 8dec724699..6bcaf84f08 100644 --- a/packages/core/client/src/schema-component/antd/select/ReadPretty.tsx +++ b/packages/core/client/src/schema-component/antd/select/ReadPretty.tsx @@ -51,7 +51,7 @@ export const ReadPretty = observer( } const content = - field.value && + field.value !== null && currentOptions.map((option, index) => ( {option[fieldNames.label]}