You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
melloware
added
Type: Bug
Issue contains a defect related to a specific component.
and removed
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
labels
Nov 19, 2024
Describe the bug
If you want to create a ToggleButton with an icon and no label (onLabel="" offLabel=""), the button will show the literal text
Reproducer
https://stackblitz.com/edit/pd5f3h?file=src%2FApp.jsx
System Information
Steps to reproduce the behavior
No response
Expected behavior
When both onLabel and offLabel are empty, the button should render a non-breaking space instead of literal text, ensuring proper layout and spacing.
The text was updated successfully, but these errors were encountered: