diff --git a/web/app/components/app/configuration/prompt-value-panel/index.tsx b/web/app/components/app/configuration/prompt-value-panel/index.tsx index a4aadc95764645..92b30a4074ace1 100644 --- a/web/app/components/app/configuration/prompt-value-panel/index.tsx +++ b/web/app/components/app/configuration/prompt-value-panel/index.tsx @@ -103,58 +103,60 @@ const PromptValuePanel: FC = ({ {!userInputFieldCollapse && promptVariables.length > 0 && (
- {promptVariables.map(({ key, name, type, options, max_length, required }, index) => ( -
-
-
-
{name || key}
- {!required && {t('workflow.panel.optional')}} -
-
- {type === 'string' && ( - { handleInputValueChange(key, e.target.value) }} - placeholder={name} - autoFocus={index === 0} - maxLength={max_length || DEFAULT_VALUE_MAX_LEN} - /> - )} - {type === 'paragraph' && ( -