diff --git a/frontend/src/app/ui/admin/description-template/editor/components/field-type/select/description-template-editor-select-field.component.html b/frontend/src/app/ui/admin/description-template/editor/components/field-type/select/description-template-editor-select-field.component.html index d54eea9b9..df87753ab 100644 --- a/frontend/src/app/ui/admin/description-template/editor/components/field-type/select/description-template-editor-select-field.component.html +++ b/frontend/src/app/ui/admin/description-template/editor/components/field-type/select/description-template-editor-select-field.component.html @@ -31,13 +31,13 @@ {{form.get('data').get('options').get(''+i).get('value').getError('backendError').message}} - {{form.get('data').get('options').getError('backendError').message}} -
\ No newline at end of file diff --git a/frontend/src/app/ui/admin/description-template/editor/components/field-type/select/description-template-editor-select-field.component.ts b/frontend/src/app/ui/admin/description-template/editor/components/field-type/select/description-template-editor-select-field.component.ts index c47d97be5..17b0f044d 100644 --- a/frontend/src/app/ui/admin/description-template/editor/components/field-type/select/description-template-editor-select-field.component.ts +++ b/frontend/src/app/ui/admin/description-template/editor/components/field-type/select/description-template-editor-select-field.component.ts @@ -13,6 +13,7 @@ import { BaseComponent } from '@common/base/base.component'; export class DescriptionTemplateEditorSelectFieldComponent extends BaseComponent implements OnInit { @Input() form: UntypedFormGroup; + @Input() viewOnly: boolean = false; @Input() validationErrorModel: ValidationErrorModel; @Input() validationRootPath: string; diff --git a/frontend/src/app/ui/admin/description-template/editor/components/field/description-template-editor-field.component.html b/frontend/src/app/ui/admin/description-template/editor/components/field/description-template-editor-field.component.html index 4583a70e4..930eb6a4b 100644 --- a/frontend/src/app/ui/admin/description-template/editor/components/field/description-template-editor-field.component.html +++ b/frontend/src/app/ui/admin/description-template/editor/components/field/description-template-editor-field.component.html @@ -6,12 +6,12 @@