@syncfusion/ej2-multicolumn-combobox 30.1.40 → 31.1.17

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.
@@ -351,7 +351,6 @@ var MultiColumnComboBox = /** @__PURE__ @class */ (function (_super) {
351
351
  _this.showHideSpinner(false);
352
352
  if (!_this.isMainDataUpdated) {
353
353
  _this.mainData = _this.gridData;
354
- _this.remoteDataLength = _this.gridData.length;
355
354
  _this.isMainDataUpdated = true;
356
355
  }
357
356
  if (_this.popupDiv) {
@@ -369,7 +368,6 @@ var MultiColumnComboBox = /** @__PURE__ @class */ (function (_super) {
369
368
  _this.trigger('actionComplete', { result: listItems }, function (e) {
370
369
  if (!_this.isMainDataUpdated) {
371
370
  _this.mainData = _this.gridData;
372
- _this.remoteDataLength = _this.gridData.length;
373
371
  _this.isMainDataUpdated = true;
374
372
  }
375
373
  if (_this.popupDiv) {
@@ -1333,8 +1331,7 @@ var MultiColumnComboBox = /** @__PURE__ @class */ (function (_super) {
1333
1331
  var e = mouseEvent ? mouseEvent : keyEvent;
1334
1332
  var val = isKeyDown ? this.matchedContent : this.exactMatchedContent;
1335
1333
  if (!val && e.code !== 'Enter') {
1336
- this.inputEle.value = null;
1337
- this.setProperties({ value: null, index: null, text: null }, true);
1334
+ this.inputEle.value = this.value = this.index = this.text = null;
1338
1335
  }
1339
1336
  this.hidePopup(e);
1340
1337
  if (this.matchedRowEle && !isClearValues && val) {
@@ -1606,6 +1603,12 @@ var MultiColumnComboBox = /** @__PURE__ @class */ (function (_super) {
1606
1603
  _this.inputEle.setAttribute('aria-activedescendant', firstRow.getAttribute('data-uid'));
1607
1604
  }
1608
1605
  }
1606
+ if (!isNullOrUndefined(_this.dataSource) && _this.dataSource instanceof DataManager) {
1607
+ _this.dataSource.executeQuery(new Query).then(function (e) {
1608
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
1609
+ _this.remoteDataLength = e.result.length;
1610
+ });
1611
+ }
1609
1612
  _this.popupObj.show(new Animation(eventArgs.animation), _this.popupEle.firstElementChild);
1610
1613
  }
1611
1614
  });