Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix: Boolean type control is not displayed (#25031)
17hza7627882a787
diff --git a/web/app/components/header/account-setting/model-provider-page/declarations.ts b/web/app/components/header/account-setting/model-provider-page/declarations.tsindex 9fac34b21b8..62cb1a96e93 100644--- a/web/app/components/header/account-setting/model-provider-page/declarations.ts+++ b/web/app/components/header/account-setting/model-provider-page/declarations.ts@@ -14,7 +14,7 @@ export enum FormTypeEnum {secretInput = 'secret-input',select = 'select',radio = 'radio',- boolean = 'boolean',+ boolean = 'checkbox',files = 'files',file = 'file',modelSelector = 'model-selector',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.tsxindex d6241303174..a7825145b44 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@@ -90,8 +90,8 @@ const FormInputItem: FC<Props> = ({// return VarType.appSelector// else if (isModelSelector)// return VarType.modelSelector- // else if (isBoolean)- // return VarType.boolean+ else if (isBoolean)+ return VarType.booleanelse if (isObject)return VarType.objectelse if (isArray)@@ -183,7 +183,7 @@ const FormInputItem: FC<Props> = ({return (<div className={cn('gap-1', !(isShowJSONEditor && isConstant) && 'flex')}>{showTypeSwitch && (- <FormInputTypeSwitch value={varInput?.type || VarKindType.constant} onChange={handleTypeChange}/>+ <FormInputTypeSwitch value={varInput?.type || VarKindType.constant} onChange={handleTypeChange} />)}{isString && (<MixedVariableTextInput@@ -203,7 +203,7 @@ const FormInputItem: FC<Props> = ({placeholder={placeholder?.[language] || placeholder?.en_US}/>)}- {isBoolean && (+ {isBoolean && isConstant && (<FormInputBooleanvalue={varInput?.value as boolean}onChange={handleValueChange}