Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

switch toggle issue with livewire #157

Open
xiaoCreagia opened this issue Dec 11, 2023 · 0 comments
Open

switch toggle issue with livewire #157

xiaoCreagia opened this issue Dec 11, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@xiaoCreagia
Copy link

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

@xiaoCreagia xiaoCreagia added the bug Something isn't working label Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant