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

[BUG] toggle_bool_column click event duplicated #486

Open
hegedak opened this issue Nov 3, 2023 · 0 comments
Open

[BUG] toggle_bool_column click event duplicated #486

hegedak opened this issue Nov 3, 2023 · 0 comments
Labels

Comments

@hegedak
Copy link

hegedak commented Nov 3, 2023

Describe the bug
I introduced hotwired/turbo-rails to the application. Since then the click event associated with toggle_bool_column is duplicated.

To Reproduce
I click on the button, then the code runs twice. The database updating happens, but the 'on' class toggles twice and remains it was before.
If I reload the page the button has the correct status.

image

@hegedak hegedak added the bug label Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant