rawilk / laravel-form-components

Form components built for Tailwind & Livewire.
https://randallwilk.dev/docs/laravel-form-components
MIT License
378 stars 41 forks source link

switch toggle issue with livewire #157

Open xiaoCreagia opened 7 months ago

xiaoCreagia commented 7 months ago

Laravel Form Components Version

v8.1

Laravel Version

v9

Alpine Version

No response

Bug description

In blade, when clicking the switch toggle, the value is updated, but not the component, it stills mark as false (although the value is true=). When clicking again, the component blade is updated, but now the value its opposite as marked! I think the issue is this attribute... if removing it, the component works fine. image

Steps to reproduce

No response

Relevant log output

No response