Skip to content

fix(file-input): instantiation fails because of super styles#1647

Merged
rkaraivanov merged 2 commits intomasterfrom
simeonoff/fix-file-input
Apr 7, 2025
Merged

fix(file-input): instantiation fails because of super styles#1647
rkaraivanov merged 2 commits intomasterfrom
simeonoff/fix-file-input

Conversation

@simeonoff
Copy link
Collaborator

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (1)

src/components/file-input/file-input.ts:49

  • Using super.styles in static properties may not work as expected; explicitly referencing IgcInputBaseComponent.styles correctly resolves the issue. Please confirm that there are no side effects related to this explicit reference.
  public static override styles = [...IgcInputBaseComponent.styles, styles];

@rkaraivanov rkaraivanov merged commit 489c8ff into master Apr 7, 2025
4 checks passed
@rkaraivanov rkaraivanov deleted the simeonoff/fix-file-input branch April 7, 2025 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants