Skip to content

Commit f24e789

Browse files
committed
fix(textfield): ensure super styles are CSSResultArray
1 parent cb4d007 commit f24e789

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/textfield/src/Textfield.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ export class TextfieldBase extends FieldLabelMixin(
5353
)
5454
) {
5555
public static override get styles(): CSSResultArray {
56-
return [super.styles || [], textfieldStyles, checkmarkStyles];
56+
const styles = (super.styles || []) as CSSResultArray;
57+
return [...styles, textfieldStyles, checkmarkStyles];
5758
}
5859

5960
@state()

0 commit comments

Comments
 (0)