@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.
- package/CHANGELOG.md +8 -0
- package/dist/ej2-dropdowns.umd.min.js +2 -2
- package/dist/ej2-dropdowns.umd.min.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es2015.js +2 -1
- package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es5.js +2 -1
- package/dist/es6/ej2-dropdowns.es5.js.map +1 -1
- package/dist/global/ej2-dropdowns.min.js +2 -2
- package/dist/global/ej2-dropdowns.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +6 -6
- package/src/drop-down-base/drop-down-base.js +1 -0
- package/src/list-box/list-box.js +1 -1
|
@@ -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.
|
|
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
|
}
|