From 72cd3c9c43c7c4b4bfaa8fc0b48e4a49365672c7 Mon Sep 17 00:00:00 2001 From: "k.triantafyllou" Date: Wed, 11 Nov 2020 09:19:12 +0000 Subject: [PATCH] [Library | Trunk]: Add warning on input git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59810 d315682c-612b-4755-9ff5-7f18f6832af3 --- dashboard/sharedComponents/input/input.component.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dashboard/sharedComponents/input/input.component.ts b/dashboard/sharedComponents/input/input.component.ts index 09a3e6e0..fa414df6 100644 --- a/dashboard/sharedComponents/input/input.component.ts +++ b/dashboard/sharedComponents/input/input.component.ts @@ -49,6 +49,7 @@ export interface Option { {{formControl.errors.error}} + {{warning}} {{label}} @@ -68,6 +69,7 @@ export class InputComponent implements OnInit, OnDestroy, OnChanges { @Input() hideControl: boolean = false; @Input() icon: string = null; @Input() iconLeft: boolean = false; + @Input() warning: string = null; public required: boolean = false; private initValue: any; private subscriptions: any[] = [];