From 1e692b616a3e98d260f8d18499186122ce3d1aa5 Mon Sep 17 00:00:00 2001 From: Alexey Zezin Date: Tue, 24 Dec 2024 22:21:02 +0300 Subject: [PATCH] fix(legacy): redundant size check in placeholder raisable getter --- .../primitive-textfield/primitive-textfield.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/legacy/components/primitive-textfield/primitive-textfield.component.ts b/projects/legacy/components/primitive-textfield/primitive-textfield.component.ts index ec598de66d72..5285c27a6cbf 100644 --- a/projects/legacy/components/primitive-textfield/primitive-textfield.component.ts +++ b/projects/legacy/components/primitive-textfield/primitive-textfield.component.ts @@ -310,7 +310,7 @@ export class TuiPrimitiveTextfieldComponent } private get placeholderRaisable(): boolean { - return this.size !== 's' && !this.labelOutside; + return !this.labelOutside; } private updateAutofilled(autofilled: boolean): void {