From 92b823a1ed9d9a55f3617cc12ab331417d589e6e Mon Sep 17 00:00:00 2001 From: "k.triantafyllou" Date: Fri, 16 Dec 2022 17:19:53 +0200 Subject: [PATCH] Fix input tooltip when value is undefined and a placeholder or hint should be shown --- sharedComponents/input/input.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sharedComponents/input/input.component.ts b/sharedComponents/input/input.component.ts index 9d7d5fc4..f124b02a 100644 --- a/sharedComponents/input/input.component.ts +++ b/sharedComponents/input/input.component.ts @@ -60,7 +60,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">