Closed trilodge closed 2 years ago
actually the problem is that we don't provide styling for selected disabled button:
<button class="fd-button fd-button--positive is-selected" disabled>Selected State</button>
this has to have the selected color/background
not reproducible, fixed
Describe the bug A segmented button doesn't show its state if u either set it to disabled via attribute or set it to disabled via "is-disabled" class attribute.
Segmented Button - https://sap.github.io/fundamental-styles/?path=/docs/components-button--primary#segmented-button
0.18.0
Fundamental Styles + vue.js (w/o vue fundamentals because of outdated components)
To Reproduce Steps to reproduce the behavior:
Expected behavior The button still shows its selected or not selected state regardless of disabled or not.
Screenshots
Desktop (please complete the following information):
Additional context The combination of "is-selected" and "is-disabled" or "disabled" is not represented in the CSS.