diff --git a/projects/legacy/components/primitive-textfield/primitive-textfield.component.ts b/projects/legacy/components/primitive-textfield/primitive-textfield.component.ts index 94a9197937ae..ec598de66d72 100644 --- a/projects/legacy/components/primitive-textfield/primitive-textfield.component.ts +++ b/projects/legacy/components/primitive-textfield/primitive-textfield.component.ts @@ -146,9 +146,11 @@ export class TuiPrimitiveTextfieldComponent } protected get labelOutside(): boolean { - const {size, labelOutside} = this.controller; - - return this.appearance === 'table' || size === 's' || labelOutside; + return ( + this.appearance === 'table' || + this.size === 's' || + this.controller.labelOutside + ); } protected get size(): TuiSizeL | TuiSizeS {