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-textfield: ng-change not working #322

Closed andikrueger closed 8 years ago

andikrueger commented 8 years ago

Expected Behavior

ng-change evaluates the given expression when the input is changed.

Actual Behavior

ng-change does nothing. the input and textarea do not have the ng-change attribute.

The uif-textfield output looks like this (simplified):

<uif-textfield ng-model="textValue" ng-change="call(textValue)">
<div>
<input ng-model="ngModel" ng-blur="inputBlur()" ng-focus="inputFocus()"
ng-click="inputClick()" ng-show="!uifMultiline" ng-disabled="disabled" type="0" />
</div>
</uif-textfield>

Steps to Reproduce Behavior

https://plnkr.co/edit/QKSgQKkksTmNyLAOr9nC?p=preview