From 2efdacd28be3127ed45d6232c50838152b0e6845 Mon Sep 17 00:00:00 2001 From: Joel Date: Tue, 10 Jun 2025 15:06:17 +0800 Subject: [PATCH] fix: no var type value hide --- .../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 c4c3221d09..98dfc261e5 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 isFile = type === FormTypeEnum.file || type === FormTypeEnum.files const showTypeSwitch = isNumber || isObject || isArray const isVariable = varInput?.type === VarKindType.variable - const isConstant = varInput?.type === VarKindType.constant + const isConstant = varInput?.type === VarKindType.constant || !varInput?.type const { availableVars, availableNodesWithParent } = useAvailableVarList(nodeId, { onlyLeafNodeVar: false,