Open philsmy opened 4 years ago
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?
I am trying to figure out how to use this with stimulus. I have tried
But the action is never getting fired.
Is this not using native events?