From 6287e3cd9e574a143dafe36acd539fc048128c6e Mon Sep 17 00:00:00 2001 From: Joel Date: Thu, 31 Jul 2025 10:28:17 +0800 Subject: [PATCH] fix: boolean can picker var --- .../workflow/nodes/_base/components/form-input-item.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/components/workflow/nodes/_base/components/form-input-item.tsx b/web/app/components/workflow/nodes/_base/components/form-input-item.tsx index 2b175d7765..d624130317 100644 --- a/web/app/components/workflow/nodes/_base/components/form-input-item.tsx +++ b/web/app/components/workflow/nodes/_base/components/form-input-item.tsx @@ -64,7 +64,7 @@ const FormInputItem: FC = ({ const isSelect = type === FormTypeEnum.select || type === FormTypeEnum.dynamicSelect const isAppSelector = type === FormTypeEnum.appSelector const isModelSelector = type === FormTypeEnum.modelSelector - const showTypeSwitch = isNumber || isObject || isArray + const showTypeSwitch = isNumber || isBoolean || isObject || isArray const isConstant = varInput?.type === VarKindType.constant || !varInput?.type const showVariableSelector = isFile || varInput?.type === VarKindType.variable