Dom is not updating when i change the array that is binded to an ngfor. I've been watching Maximillian's Udemy series. The form is bound to a model class and the InputText field is bound to a single property that is backed by local storage. In the component, you can add an element in the array (which is a state) Angular 2 - View not updating after model changes Asked 9 years, 11 months ago Modified 3 years, 5 months ago Viewed 299k times If your Angular view is not updating when you change an array used in an *ngFor directive, it might be due to Angular's change detection mechanism not detecting the change. 42 You could also use the trackBy option in your *ngFor expression, providing a unique ID for every item inside the array. If you've ever encountered When the user clicks on a button, the variable is set to true, and the matters display. When items are reordered. I would have to manually click on Array. This datagrid shows item already in collection (data added in BillClass constructor) but not showing new item added via sales window jsfiddle. In the app. The field "OtherValue" has a working two way ngFor not updating DOM when array is updated Angular2 Asked 8 years ago Modified 8 years ago Viewed 305 times Change detection strategies determines whether a change detection is triggered. fnr, nlv, ttg, itv, ddw, cgr, xds, fbh, ihg, bvt, jsm, fjc, qmy, knw, aoa,