Skip to content

Commit

Permalink
fix(legacy): redundant size check in placeholder raisable getter
Browse files Browse the repository at this point in the history
  • Loading branch information
dequubi committed Dec 24, 2024
1 parent 501a6ac commit 1e692b6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1e692b6

Please sign in to comment.