Skip to content

Commit

Permalink
fix(legacy): redundant fields
Browse files Browse the repository at this point in the history
  • Loading branch information
dequubi authored and splincode committed Dec 24, 2024
1 parent b417e48 commit 0a87303
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 0a87303

Please sign in to comment.