From e9e06fa51f54187f1f016ca3db2cbcba3f871f3a Mon Sep 17 00:00:00 2001 From: Sofia Papacharalampous Date: Mon, 29 Apr 2024 11:46:16 +0300 Subject: [PATCH] description editor change > do not validate form on save --- .../app/ui/description/editor/description-editor.component.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/dmp-frontend/src/app/ui/description/editor/description-editor.component.ts b/dmp-frontend/src/app/ui/description/editor/description-editor.component.ts index 8c45dc0f2..0dc486ee2 100644 --- a/dmp-frontend/src/app/ui/description/editor/description-editor.component.ts +++ b/dmp-frontend/src/app/ui/description/editor/description-editor.component.ts @@ -666,8 +666,6 @@ export class DescriptionEditorComponent extends BaseEditor void): void { this.formService.removeAllBackEndErrors(this.formGroup); - this.formService.touchAllFormFields(this.formGroup); - this.tocValidationService.validateForm(); if (this.formGroup.get('label').valid && this.formGroup.get('dmpId').valid && this.formGroup.get('dmpDescriptionTemplateId').valid && this.formGroup.get('descriptionTemplateId').valid && this.formGroup.get('status').valid) { this.persistEntity(onSuccess);