angular-ui-switch
angular-ui-switch copied to clipboard
Add ability to disable automatic model state change
I have a use case where in some cases I want to open a modal when the toggle button is selected and only change the model when a button is selected in the modal.
It doesn't seem like there's any way to bypass the ng-change=model.attr = !model.attr, however.
+1.
Need the user to confirm the toggling of the switch.