diff --git a/ui-ngx/src/app/modules/home/components/calculated-fields/components/simple-configuration/simple-configuration.component.ts b/ui-ngx/src/app/modules/home/components/calculated-fields/components/simple-configuration/simple-configuration.component.ts index fd2e0783af..7292775055 100644 --- a/ui-ngx/src/app/modules/home/components/calculated-fields/components/simple-configuration/simple-configuration.component.ts +++ b/ui-ngx/src/app/modules/home/components/calculated-fields/components/simple-configuration/simple-configuration.component.ts @@ -200,7 +200,7 @@ export class SimpleConfigurationComponent implements ControlValueAccessor, Valid } private toggleScopeByOutputType(): void { - if (this.isScript || this.simpleConfiguration.get('output').value.type === OutputType.Attribute) { + if (this.isScript || this.simpleConfiguration.get('output').value.type === OutputType.Attribute || this.disabled) { this.simpleConfiguration.get('useLatestTs').disable({emitEvent: false}); } else { this.simpleConfiguration.get('useLatestTs').enable({emitEvent: false});