angular-ui-switch icon indicating copy to clipboard operation
angular-ui-switch copied to clipboard

Add ability to disable automatic model state change

Open oowowaee opened this issue 10 years ago • 1 comments

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.

oowowaee avatar Oct 01 '15 18:10 oowowaee

+1.

Need the user to confirm the toggling of the switch.

andreaslarssen avatar Oct 22 '15 07:10 andreaslarssen