mirror of https://github.com/langgenius/dify.git
fix: boolean can picker var
This commit is contained in:
parent
94c33c6eed
commit
6287e3cd9e
|
|
@ -64,7 +64,7 @@ const FormInputItem: FC<Props> = ({
|
|||
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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue