fixed dmp editor first step validation.2
This commit is contained in:
parent
192018051d
commit
dc5928cf49
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue