Search Posts

Author: Vijay Menon

Input with Datalist – ng-change is not fired in IE for AngularJS

I have an input tag with datalist for which the ng-change is not getting fired on selection in Internet Explorer 11. It only gets fired on blur of the input. It is working in Chrome. Codepen Below: https://codepen.io/vijayvmenon/pen/gzLYgp <input list=”testList” name=”origin node” ng-model=”SelectedDoctor” ng-change=”LoadSessionData(SelectedDoctor)” autocomplete=”off” required /> <datalist id=”testList” > <option value={{value.id}} ng-repeat=”value in data”> </datalist> <p>{{selectedVal}}</p> If you check the code, you can see that in chrome the data list value is shown below […]