themesberg / flowbite-vue

Official Vue 3 components built for Flowbite and Tailwind CSS
https://flowbite-vue.com
MIT License
723 stars 116 forks source link

white label not visible in Toggle component #297

Closed TissyashriS closed 2 weeks ago

TissyashriS commented 1 month ago

I tried implementing the toggle component in my project using Flowbite version 2.3.0 and encountered an issue: the label with white text color is not visible. This issue is in all the type of toggles - Disabled toggle, colors , default toogle.

My code snippet image

output: image
image

ogzcode commented 3 weeks ago

Hi, It works in the stackblitz link below. You do not need to use the initFlowbite() function. That function is there to write your own event listeners. You can look at the doc.

Stackblitz Link initFlowbite() Doc

@zoltanszogyenyi @robert1508 please close this issue

Sqrcz commented 2 weeks ago

Thank you for the example @ogzcode .

Closing as it's working when implemented according to the documentation. ;)