ngOfficeUIFabric / ng-officeuifabric

Office UI Fabric (https://github.com/OfficeDev/office-ui-fabric) implementation for Angular
http://ngOfficeUiFabric.com
MIT License
321 stars 67 forks source link

uif-button ng-disabled not working properly #319

Closed s-KaiNet closed 8 years ago

s-KaiNet commented 8 years ago

Expected Behavior

When using ng-disabled attribute on uif-button, the button should reflect the state.

Actual Behavior

It works as expected only if scope property name controlling disabled state equals to "disabled" In other case js error is thrown by angular.

andrewconnell commented 8 years ago

Eek... good catch by @tom2all ... more details here: https://github.com/ngOfficeUIFabric/ng-officeuifabric/issues/268#issuecomment-215083711