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; }