From a2af95098bd00e3709341e3d544e14741a326527 Mon Sep 17 00:00:00 2001 From: "k.triantafyllou" Date: Thu, 5 Jan 2023 10:53:08 +0200 Subject: [PATCH] Add password boolean in Input component --- sharedComponents/input/input.component.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sharedComponents/input/input.component.ts b/sharedComponents/input/input.component.ts index f124b02a..d20bf6ff 100644 --- a/sharedComponents/input/input.component.ts +++ b/sharedComponents/input/input.component.ts @@ -63,7 +63,7 @@ declare var UIkit; [attr.uk-tooltip]="(tooltip && !focused && type !== 'chips' && type !== 'textarea' && (formControl.value || hint || placeholderInfo?.label))?('title: ' + (formControl.value ?getTooltip(formControl.value):(hint?hint:placeholderInfo?.label)) + '; delay: 500; pos: bottom-left'):null"> + [type]="password?'password':'text'" [formControl]="formAsControl" [class.uk-text-truncate]="!focused">