@syncfusion/ej2-multicolumn-combobox 30.1.39 → 30.1.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -290,6 +290,7 @@ let MultiColumnComboBox = class MultiColumnComboBox extends Component {
290
290
  this.showHideSpinner(false);
291
291
  if (!this.isMainDataUpdated) {
292
292
  this.mainData = this.gridData;
293
+ this.remoteDataLength = this.gridData.length;
293
294
  this.isMainDataUpdated = true;
294
295
  }
295
296
  if (this.popupDiv) {
@@ -307,6 +308,7 @@ let MultiColumnComboBox = class MultiColumnComboBox extends Component {
307
308
  this.trigger('actionComplete', { result: listItems }, (e) => {
308
309
  if (!this.isMainDataUpdated) {
309
310
  this.mainData = this.gridData;
311
+ this.remoteDataLength = this.gridData.length;
310
312
  this.isMainDataUpdated = true;
311
313
  }
312
314
  if (this.popupDiv) {
@@ -1252,7 +1254,8 @@ let MultiColumnComboBox = class MultiColumnComboBox extends Component {
1252
1254
  const e = mouseEvent ? mouseEvent : keyEvent;
1253
1255
  const val = isKeyDown ? this.matchedContent : this.exactMatchedContent;
1254
1256
  if (!val && e.code !== 'Enter') {
1255
- this.inputEle.value = this.value = this.index = this.text = null;
1257
+ this.inputEle.value = null;
1258
+ this.setProperties({ value: null, index: null, text: null }, true);
1256
1259
  }
1257
1260
  this.hidePopup(e);
1258
1261
  if (this.matchedRowEle && !isClearValues && val) {
@@ -1520,12 +1523,6 @@ let MultiColumnComboBox = class MultiColumnComboBox extends Component {
1520
1523
  this.inputEle.setAttribute('aria-activedescendant', firstRow.getAttribute('data-uid'));
1521
1524
  }
1522
1525
  }
1523
- if (!isNullOrUndefined(this.dataSource) && this.dataSource instanceof DataManager) {
1524
- this.dataSource.executeQuery(new Query).then((e) => {
1525
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
1526
- this.remoteDataLength = e.result.length;
1527
- });
1528
- }
1529
1526
  this.popupObj.show(new Animation(eventArgs.animation), this.popupEle.firstElementChild);
1530
1527
  }
1531
1528
  });