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' && (