cgarvis / angular-toggle-switch

AngularJS Toggle Switch
http://cgarvis.github.io/angular-toggle-switch
MIT License
160 stars 124 forks source link

Disable toggle switch when <fieldset> is disabled #79

Open zachlysobey opened 9 years ago

zachlysobey commented 9 years ago

When a <fieldset> is disabled, the spec says that so should it'd descendent form elements.

from: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset#attr-disabled

disabled If this Boolean attribute is set, the form controls that are its descendants [...] are disabled

Is this an enhancement that could be made?

Sheeryada commented 9 years ago

+1