Skip to content

Commit 89a424d

Browse files
authored
Merge pull request #217 from MayaKirova/bug-fixing
Fixing issue with combo when binding to large data set
2 parents ff9b738 + 32b2bd2 commit 89a424d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/igcombo/igcombo.component.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,7 @@ export class IgComboComponent extends IgControlBase<IgCombo> implements ControlV
7979
if (this._config.dataSource && this._config.dataSource.length !== this._dataSource.length) {
8080
this._dataSource = jQuery.extend(true, [], this._config.dataSource);
8181
if (this._changes) {
82-
this._changes.forEachAddedItem(r => element.data("igCombo").dataBind());
83-
this._changes.forEachRemovedItem(r => element.data("igCombo").dataBind());
82+
element.data("igCombo").dataBind();
8483
if (this.model && this.model.value) {
8584
this.writeValue(this.model.value);
8685
}

0 commit comments

Comments
 (0)