From dc5928cf49f164e79bdbab6fb1c40f32842acf1f Mon Sep 17 00:00:00 2001 From: Sofia Papacharalampous Date: Thu, 4 Apr 2024 18:31:16 +0300 Subject: [PATCH] fixed dmp editor first step validation.2 --- .../app/ui/dmp/dmp-editor-blueprint/dmp-editor.component.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dmp-frontend/src/app/ui/dmp/dmp-editor-blueprint/dmp-editor.component.ts b/dmp-frontend/src/app/ui/dmp/dmp-editor-blueprint/dmp-editor.component.ts index 83a8a5dad..04db52f5c 100644 --- a/dmp-frontend/src/app/ui/dmp/dmp-editor-blueprint/dmp-editor.component.ts +++ b/dmp-frontend/src/app/ui/dmp/dmp-editor-blueprint/dmp-editor.component.ts @@ -335,9 +335,8 @@ export class DmpEditorComponent extends BaseEditor implemen } selectDefaultBlueprint(): void { - if (!(this.formGroup.get('label').value && this.formGroup.get('description').value && this.formGroup.get('blueprint').value)) { + if (!(this.formGroup.get('label').value && this.formGroup.get('description').value)) { this.formGroup.get('label').markAsTouched(); - this.formGroup.get('blueprint').markAsTouched(); this.formTouchEvent.emit(true); return; }