Skip to content

feat: Conditionally render p-togglebutton label (fixes: #19499)#19500

Open
wcroteau wants to merge 1 commit into
primefaces:masterfrom
wcroteau:Fix19499
Open

feat: Conditionally render p-togglebutton label (fixes: #19499)#19500
wcroteau wants to merge 1 commit into
primefaces:masterfrom
wcroteau:Fix19499

Conversation

@wcroteau
Copy link
Copy Markdown

@wcroteau wcroteau commented Mar 25, 2026

Fixes #19499

Icons in conjunction with empty labels were injecting a span with a non-breaking space which was breaking proper icon alignment due to container's gap.

)

Icons in conjunction with empty labels were injecting a span with a non-breaking space which was breaking proper icon alignment due to container's gap.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

p-togglebutton with icons only incorrectly renders nbsp as label

1 participant