fixed dmp editor first step validation.2

This commit is contained in:
Sofia Papacharalampous 2024-04-04 18:31:16 +03:00
parent 192018051d
commit dc5928cf49
1 changed files with 1 additions and 2 deletions

View File

@ -335,9 +335,8 @@ export class DmpEditorComponent extends BaseEditor<DmpEditorModel, Dmp> 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;
}