Closed joshfriend closed 8 years ago
Looking at switch code, I think in order to support ng-disabled, a bit of refactoring is needed. The code is so simple, it just manages html...
In summary, in order to support disabled, directive should require ngModel and only change model value if it is not disabled.
I did not come up with a way to use ng-disabled
(i didn't try yet actually). I just ng-hide
the whole element for now.
+1 @joshfriend have you figure it out some way?