gitbrent/bootstrap4-toggle

Using with Stimulus.js...no events?

Opened this issue · 0 comments

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?