@syncfusion/ej2-dropdowns 20.1.50 → 20.1.51

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.
@@ -1059,6 +1059,7 @@ var DropDownBase = /** @__PURE__ @class */ (function (_super) {
1059
1059
  dataSource = this.selectData;
1060
1060
  }
1061
1061
  }
1062
+ dataSource = this.getModuleName() === 'combobox' && this.selectData && dataSource instanceof Array && dataSource.length < this.selectData.length ? this.selectData : dataSource;
1062
1063
  this.setListData(dataSource, fields, query);
1063
1064
  }
1064
1065
  };
@@ -14502,7 +14503,7 @@ var ListBox = /** @__PURE__ @class */ (function (_super) {
14502
14503
  var filterQuery = query ? query.clone() : this.query ? this.query.clone() : new Query();
14503
14504
  if (this.allowFiltering) {
14504
14505
  var filterType = this.inputString === '' ? 'contains' : this.filterType;
14505
- var dataType = this.typeOfData(this.dataSource).typeof;
14506
+ var dataType = this.typeOfData(this.jsonData).typeof;
14506
14507
  if (!(this.dataSource instanceof DataManager) && dataType === 'string' || dataType === 'number') {
14507
14508
  filterQuery.where('', filterType, this.inputString, this.ignoreCase, this.ignoreAccent);
14508
14509
  }