Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
160
igCombo DataSource not updating from a one element array to another one element array
posted

I think I might have found a bug with the igCombo, but I'll let you decide.

When using knockout binding and an observableArray as a datasource and the datasource is set with a one element array

     var myArray = [{Id: 1, Name: "Item 1"}];

     self.DataSource = ko.observableArray(myArray);

Then you set the observableArray to another one element array, the igCombo does not update.

     var mySecondArray = [{Id: 2, Name: "Item 2"}];

     self.DataSource(mySecondArray);

Sample is attached.

igComboEx.zip

Parents Reply Children
No Data