From 6614e97b534b52cd3e600a96fca0598302fbc325 Mon Sep 17 00:00:00 2001 From: Joel Date: Mon, 4 Aug 2025 10:59:20 +0800 Subject: [PATCH] fix: basic chatbot bool --- .../components/app/configuration/debug/chat-user-input.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/app/components/app/configuration/debug/chat-user-input.tsx b/web/app/components/app/configuration/debug/chat-user-input.tsx index 8efd966bd3..ac07691ce4 100644 --- a/web/app/components/app/configuration/debug/chat-user-input.tsx +++ b/web/app/components/app/configuration/debug/chat-user-input.tsx @@ -56,7 +56,7 @@ const ChatUserInput = ({ className='mb-4 last-of-type:mb-0' >
- {type !== 'boolean' && ( + {type !== 'checkbox' && (
{name || key}
{!required && {t('workflow.panel.optional')}} @@ -99,7 +99,7 @@ const ChatUserInput = ({ maxLength={max_length || DEFAULT_VALUE_MAX_LEN} /> )} - {type === 'boolean' && ( + {type === 'checkbox' && (