bootstrap4-toggle icon indicating copy to clipboard operation
bootstrap4-toggle copied to clipboard

Using with Stimulus.js...no events?

Open philsmy opened this issue 5 years ago • 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?

philsmy avatar May 27 '20 05:05 philsmy