From c272644c612b4bce635cfb8fa5e0a55a734f0b70 Mon Sep 17 00:00:00 2001 From: gkolokythas Date: Tue, 17 Dec 2019 14:15:12 +0200 Subject: [PATCH] Fixes bug on Grant Tab's validation when creating a new DMP. --- .../src/app/ui/dmp/editor/grant-tab/grant-tab.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/dmp-frontend/src/app/ui/dmp/editor/grant-tab/grant-tab.component.ts b/dmp-frontend/src/app/ui/dmp/editor/grant-tab/grant-tab.component.ts index b8e6797a6..9920011fd 100644 --- a/dmp-frontend/src/app/ui/dmp/editor/grant-tab/grant-tab.component.ts +++ b/dmp-frontend/src/app/ui/dmp/editor/grant-tab/grant-tab.component.ts @@ -200,6 +200,7 @@ export class GrantTabComponent extends BaseComponent implements OnInit { if ((funder.label !== "" && funder.label != null && funder.label !== undefined) || (funder.existFunder !== null && funder.existFunder !== undefined && funder.existFunder.id !== undefined)) { this.grantformGroup.enable(); + this.setGrantValidators(); } else { this.grantformGroup.reset();