# Category: angularjs-ng-change

## ng-change not getting called on checkbox

I have a select dropdown. Upon selecting each value in dropdown, checkboxes are created using ng-repeat. All the values in the dropdown are supposed to be selected and corresponding checkboxes are stored in an array when a checkbox is checked using ng-change on the checkbox. When I change back to a previous dropdown value, I am checking if the checkboxes are already there in the array used to store checked values and then check them […]

## 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

## unable to trigger ng-change in android webview

I have given a simple text box and an change event updates a table below the text box. It works absolutely fine in the browser. But when I call this page in android webview, ng-change doesn’t trigger. Android version 4.2.2. Chrome in the android device is of version 38.0 <input type=”text” id=”barcode” name=”barcode” ng-model=”thisBarcode” ng-model-options=”{ updateOn: ‘change’ }” placeholder=”Scan Barcode Here” autofocus ng-change=”addProductToCart(this.thisBarcode)”> Source: AngularJS