feat: support chatflow start node custom input field hidden (#19678)
This commit is contained in:
parent
627911d4ff
commit
ef3569e667
19 changed files with 76 additions and 18 deletions
|
|
@ -22,8 +22,13 @@ const InputsFormNode = ({
|
|||
currentConversationId,
|
||||
themeBuilder,
|
||||
handleStartChat,
|
||||
allInputsHidden,
|
||||
inputsForms,
|
||||
} = useEmbeddedChatbotContext()
|
||||
|
||||
if (allInputsHidden || inputsForms.length === 0)
|
||||
return null
|
||||
|
||||
return (
|
||||
<div className={cn('mb-6 flex flex-col items-center px-4 pt-6', isMobile && 'mb-4 pt-4')}>
|
||||
<div className={cn(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue