Dialog close button when label is empty #7123
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
Describe the bug
If you want to create a Dialog with an clos dialog icon and no label, the button will show the literal text " " (without the quotes).
Currently it adds " " what breaks the layout:
Similar problem was with ToggleButton: #6809
Pull Request Link
No response
Reason for not contributing a PR
Other Reason
No response
Reproducer
https://stackblitz.com/edit/primevue-4-vite-issue-template-8kuy5ukf?file=src%2FApp.vue
Environment
vue+primevue
Vue version
3.5.13
PrimeVue version
4.2.5
Node version
No response
Browser(s)
No response
Steps to reproduce the behavior
create dialog with default sets
Expected behavior
null instead of space
The text was updated successfully, but these errors were encountered: