-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
👩👧👦communityFeedbackFeedback from communityFeedback from community
Description
Which generators are affected?
- All
- HTML
- React
- Angular
- Vue
- Web components
- Power Apps
Reproduction case
Setting the noText attribute on a db-button element removes the css class added to the host element.
CSS class is set:
<db-button class="myClass"
variant="ghost"
data-icon="question_mark_circle"
(click)="doSomething()">
</db-button>
CSS class is missing:
<db-button class="myClass"
variant="ghost"
data-icon="question_mark_circle"
noText="noText"
(click)="doSomething()">
</db-button>
Expected Behaviour
The noText attribute should not cause the css class to be missing from the db-button element.
Screenshots
No response
Browser version
Chrome
Add any other context about the problem here.
Sidenote: The css class is still present in the inner element, but without effect because of view encapsulation.
https://codesandbox.io/p/sandbox/github/db-ux-design-system/examples/tree/main/angular-example
Which DB business unit do you work for?
DB Systel GmbH (please name your customer below)
”DB Systel” please enter your customer / ”other” please enter your area or business unit.
DB InfraGO AG
What project are you working on?
EBuLa Rückfallebene (IRE)
Metadata
Metadata
Assignees
Labels
👩👧👦communityFeedbackFeedback from communityFeedback from community