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

Using with Stimulus.js...no events? #44

Open
philsmy opened this issue May 27, 2020 · 0 comments
Open

Using with Stimulus.js...no events? #44

philsmy opened this issue May 27, 2020 · 0 comments

Comments

@philsmy
Copy link

philsmy commented May 27, 2020

I am trying to figure out how to use this with stimulus.
I have tried

 <input type='checkbox' 
name='disable_box' data-action="change->my-controller#enableDisable click->my-controller-index#enableDisable" data-toggle='toggle' <%=model.active ? 'checked' : ''%>>

But the action is never getting fired.

Is this not using native events?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant