primefaces / primevue

Next Generation Vue UI Component Library
https://primevue.org
MIT License
10.64k stars 1.24k forks source link

ToggleButton:   when label is empty #6809

Closed ErnestoNCarrea closed 1 day ago

ErnestoNCarrea commented 3 days ago

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 " " (without the quotes).

Reproducer

https://stackblitz.com/edit/yumapd?file=src%2FApp.vue

PrimeVue version

4.2.2

Vue version

4.x

Language

TypeScript

Build / Runtime

Vue CLI App

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

No response