JumpLink / angular-toggle-switch

AngularJS Toggle Switch
http://jumplink.github.io/angular-toggle-switch/
MIT License
68 stars 37 forks source link

Use isDisabled #5

Closed Chochek closed 9 years ago

Chochek commented 9 years ago

The disabled attribute can get truncated and lose its value So from this: <toggle-switch model="switchStatus" on-label="Yes" off-label="No" disabled="{{switchDisabled}}"></toggle-switch>

I get this: <toggle-switch model="switchStatus" on-label="Yes" off-label="No" disabled></toggle-switch>

And then disabling doesn't work