diff --git a/packages/core/client/src/schema-component/antd/variable/TextAreaWithGlobalScope.tsx b/packages/core/client/src/schema-component/antd/variable/TextAreaWithGlobalScope.tsx index 124be3dca0..e7cd3421d6 100644 --- a/packages/core/client/src/schema-component/antd/variable/TextAreaWithGlobalScope.tsx +++ b/packages/core/client/src/schema-component/antd/variable/TextAreaWithGlobalScope.tsx @@ -35,13 +35,14 @@ interface TextAreaWithGlobalScopeProps { password?: boolean; number?: boolean; boolean?: boolean; + expression?: boolean; value?: any; scope?: string | object; [key: string]: any; } export const TextAreaWithGlobalScope = connect((props: TextAreaWithGlobalScopeProps) => { - const { supportsLineBreak, password, number, boolean, ...others } = props; + const { supportsLineBreak, password, number, boolean, input, expression = true, ...others } = props; const scope = useEnvironmentVariableOptions(props.scope); const fieldNames = { value: 'name', label: 'title' }; @@ -57,5 +58,13 @@ export const TextAreaWithGlobalScope = connect((props: TextAreaWithGlobalScopePr if (boolean) { return ; } - return