Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: do not override theme attribute set on slotted buttons #7215

Merged
merged 1 commit into from
Mar 15, 2024

Conversation

web-padawan
Copy link
Member

Description

Fixes vaadin/flow-components#6123

Added a check to detect if button has theme attribute set and if so, do not override it by the default one.

Type of change

  • Bugfix

Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link
Contributor

@sissbruecker sissbruecker left a comment

Choose a reason for hiding this comment

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

Looks like a good approach 👍

@web-padawan web-padawan merged commit 9537fc8 into main Mar 15, 2024
9 checks passed
@web-padawan web-padawan deleted the fix/buttons-default-theme branch March 15, 2024 11:16
web-padawan added a commit that referenced this pull request Mar 15, 2024
…7219)

Co-authored-by: Serhii Kulykov <iamkulykov@gmail.com>
web-padawan added a commit that referenced this pull request Mar 15, 2024
…7218)

Co-authored-by: Serhii Kulykov <iamkulykov@gmail.com>
@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with Vaadin 24.4.0.alpha15 and is also targeting the upcoming stable 24.4.0 version.

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.

Updating themes of CRUD buttons doesn't work if the CRUD hasn't been initialized first
3 participants