@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.
@@ -290,7 +290,6 @@ 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;
294
293
  this.isMainDataUpdated = true;
295
294
  }
296
295
  if (this.popupDiv) {
@@ -308,7 +307,6 @@ let MultiColumnComboBox = class MultiColumnComboBox extends Component {
308
307
  this.trigger('actionComplete', { result: listItems }, (e) => {
309
308
  if (!this.isMainDataUpdated) {
310
309
  this.mainData = this.gridData;
311
- this.remoteDataLength = this.gridData.length;
312
310
  this.isMainDataUpdated = true;
313
311
  }
314
312
  if (this.popupDiv) {
@@ -1254,8 +1252,7 @@ let MultiColumnComboBox = class MultiColumnComboBox extends Component {
1254
1252
  const e = mouseEvent ? mouseEvent : keyEvent;
1255
1253
  const val = isKeyDown ? this.matchedContent : this.exactMatchedContent;
1256
1254
  if (!val && e.code !== 'Enter') {
1257
- this.inputEle.value = null;
1258
- this.setProperties({ value: null, index: null, text: null }, true);
1255
+ this.inputEle.value = this.value = this.index = this.text = null;
1259
1256
  }
1260
1257
  this.hidePopup(e);
1261
1258
  if (this.matchedRowEle && !isClearValues && val) {
@@ -1523,6 +1520,12 @@ let MultiColumnComboBox = class MultiColumnComboBox extends Component {
1523
1520
  this.inputEle.setAttribute('aria-activedescendant', firstRow.getAttribute('data-uid'));
1524
1521
  }
1525
1522
  }
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
+ }
1526
1529
  this.popupObj.show(new Animation(eventArgs.animation), this.popupEle.firstElementChild);
1527
1530
  }
1528
1531
  });