feat: support chatflow start node custom input field hidden (#19678)

This commit is contained in:
Panpan 2025-05-21 13:52:21 +08:00 • committed by GitHub
commit ef3569e667
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 76 additions and 18 deletions

View file

@ -36,9 +36,11 @@ const InputsFormContent = ({ showTip }: Props) => {
})
}, [newConversationInputsRef, handleNewConversationInputsChange, currentConversationInputs, setCurrentConversationInputs])
const visibleInputsForms = inputsForms.filter(form => form.hide !== true)
return (
<div className='space-y-4'>
{inputsForms.map(form => (
{visibleInputsForms.map(form => (
<div key={form.variable} className='space-y-1'>
<div className='flex h-6 items-center gap-1'>
<div className='system-md-semibold text-text-secondary'>{form.label}</div>