Reputation: 877
I have a fieldset that sets ng-disabled to true or false based on certain conditions.
<fieldset class="panel-body" ng-disabled="CoreFormPartVI.overview.UserReadOnly || CoreFormPartVI.overview.Locked">
I have a button that I want to be enabled regardless of this fieldset.
excel-definition="CoreFormPartVI.PartVIRelationshipDefinition" ng-disabled="readOnly"
></div>
I tried setting ng-disabled="false" on the button, but that doesn't seem to work. Is there a way to say, disable everything except that specific button?
Upvotes: 0
Views: 1084
Reputation: 657
While this doesn't solve your problem, you might not want to use a fieldset with ng-disabled since it doesn't work in IE (even 11).
http://www.w3schools.com/tags/att_fieldset_disabled.asp
I suggest you disable every element induvidually (bound to the same scope variable for easy triggering).
Upvotes: 2