@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
|
@@ -1034,6 +1034,7 @@ let DropDownBase = class DropDownBase extends Component {
|
|
|
1034
1034
|
dataSource = this.selectData;
|
|
1035
1035
|
}
|
|
1036
1036
|
}
|
|
1037
|
+
dataSource = this.getModuleName() === 'combobox' && this.selectData && dataSource instanceof Array && dataSource.length < this.selectData.length ? this.selectData : dataSource;
|
|
1037
1038
|
this.setListData(dataSource, fields, query);
|
|
1038
1039
|
}
|
|
1039
1040
|
}
|
|
@@ -14283,7 +14284,7 @@ let ListBox = ListBox_1 = class ListBox extends DropDownBase {
|
|
|
14283
14284
|
let filterQuery = query ? query.clone() : this.query ? this.query.clone() : new Query();
|
|
14284
14285
|
if (this.allowFiltering) {
|
|
14285
14286
|
const filterType = this.inputString === '' ? 'contains' : this.filterType;
|
|
14286
|
-
const dataType = this.typeOfData(this.
|
|
14287
|
+
const dataType = this.typeOfData(this.jsonData).typeof;
|
|
14287
14288
|
if (!(this.dataSource instanceof DataManager) && dataType === 'string' || dataType === 'number') {
|
|
14288
14289
|
filterQuery.where('', filterType, this.inputString, this.ignoreCase, this.ignoreAccent);
|
|
14289
14290
|
}
|