themesberg / flowbite-vue

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

Button Component Not Properly Disabled #232

Closed acidiney closed 10 months ago

acidiney commented 11 months ago

Description

I've encountered an issue with the button component. When the disabled property is passed, the class is applied but the button is not disabled in the HTML.

Steps to Reproduce

  1. Pass the disabled property to the button component.
  2. Observe that while the class is applied, the button remains enabled in the HTML.

Expected Behavior

When the disabled property is passed, the button should be disabled in both the class and the HTML.

Actual Behavior

The button remains enabled in the HTML even when the disabled property is passed.

Possible Solution

Ensure that passing the disabled property not only applies the class but also disables the button in the HTML.

Additional Information