Skip to content

Commit 32b2bd2

Browse files
committed
Fixing issue with combo when binding to large data set
Fixing issue with combo when a large amount of changes are applied to the data after the initial bind.
1 parent 50c8ed5 commit 32b2bd2

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)