Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

fix(agent): let global variable textareas resize vertically (#18972)

chanx95a90bf92f69
diff --git a/web/src/pages/agent/gobal-variable-sheet/constant.ts b/web/src/pages/agent/gobal-variable-sheet/constant.ts
index 55ac8cf3b8..0215ffda82 100644
--- a/web/src/pages/agent/gobal-variable-sheet/constant.ts
+++ b/web/src/pages/agent/gobal-variable-sheet/constant.ts
@@ -37,12 +37,14 @@ export const GlobalFormFields = (t: TFunction<'translation', undefined>) =>
name: 'value',
placeholder: '',
type: FormFieldType.Textarea,
+ fieldConfig: { className: 'overflow-auto', resize: 'vertical' },
},
{
label: t('flow.description'),
name: 'description',
placeholder: t('flow.variableDescription'),
type: FormFieldType.Textarea,
+ fieldConfig: { className: 'overflow-auto', resize: 'vertical' },
},
] as FormFieldConfig[];