Search Posts

Author: user2689782

Polymer data-ng-change vs data-ng-blur

I have a paper-input item <paper-input label=”Test” data-ng-model=”item” data-ng-blur=”onBlur(x)” data-ng-change=”onChange(y)”> </paper-input> In the controller, the functions are defined as – function onBlur(x) { … } function onChange(y) { … } On losing focus on the item, onBlur is called correctly. However, on changing data in the item, the onChange function is not called. Any ideas? Source: AngularJS