diff --git a/packages/core/client/src/schema-component/antd/variable/TextArea.tsx b/packages/core/client/src/schema-component/antd/variable/TextArea.tsx index 1802b7b8be..46041fa50f 100644 --- a/packages/core/client/src/schema-component/antd/variable/TextArea.tsx +++ b/packages/core/client/src/schema-component/antd/variable/TextArea.tsx @@ -212,7 +212,7 @@ const defaultFieldNames = { value: 'value', label: 'label' }; export function TextArea(props) { const { wrapSSR, hashId, componentCls } = useStyles(); - const { value = '', scope, onChange, changeOnSelect, style } = props; + const { value = '', scope, onChange, changeOnSelect, style, fieldNames } = props; const inputRef = useRef(null); const [options, setOptions] = useState([]); const form = useForm();