mirror of https://github.com/langgenius/dify.git
fix: chatbot bool
This commit is contained in:
parent
6614e97b53
commit
04d2b0775d
|
|
@ -134,7 +134,7 @@ export const promptVariablesToUserInputsForm = (promptVariables: PromptVariable[
|
|||
} as any)
|
||||
return
|
||||
}
|
||||
if (item.type === 'number' || item.type === 'boolean') {
|
||||
if (item.type === 'number' || item.type === 'checkbox') {
|
||||
userInputs.push({
|
||||
[item.type]: {
|
||||
label: item.name,
|
||||
|
|
|
|||
Loading…
Reference in New Issue