From 2db6d94828e46ea14217069f788cb1b865a78b05 Mon Sep 17 00:00:00 2001 From: smallbun <30397655+leshalv@users.noreply.github.com> Date: Mon, 11 Nov 2024 16:21:31 +0800 Subject: [PATCH] Update index.tsx --- packages/field/src/components/TextArea/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/field/src/components/TextArea/index.tsx b/packages/field/src/components/TextArea/index.tsx index 7fdfee215966..4392b8e83092 100644 --- a/packages/field/src/components/TextArea/index.tsx +++ b/packages/field/src/components/TextArea/index.tsx @@ -38,7 +38,7 @@ const FieldTextArea: ProFieldFC<{ /> ); if (renderFormItem) { - return (text, { mode, ...fieldProps }, dom); + return renderFormItem(text, { mode, ...fieldProps }, dom); } return dom; }