Angular two way binding (different behavior in IE 9)

124 Views Asked by At

I am creating an Angular application and utilizing the Angular two way binding method for all of my inputs. The application must be supported for IE versions 9 an above. For the latest versions of IE (10/Edge), the binding works perfectly fine. However, when I tested on IE 9, the binding only works when additions are made to the input, meaning if there is an input and there is a value existent for it and I add to it, the model is updated or the input value reflects the additions made to it. However, when removing or deleting characters from the input, the model doesn't update, or the input value is not changed.

Could someone please explain to me why this would be ? Is this expected behavior for IE 9 ?

Thanks

1

There are 1 best solutions below

1
Gauri Kesava Kumar On

You are, most probably, missing classList polyfill. Make sure to check

https://angular.io/docs/ts/latest/guide/browser-support.html