@syncfusion/ej2-dropdowns 20.1.58 → 20.1.59
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 +12 -1
- package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es5.js +12 -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-list/drop-down-list.js +9 -1
- package/src/multi-select/multi-select.js +3 -0
|
@@ -2511,13 +2511,21 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
|
|
|
2511
2511
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2512
2512
|
if (this.isReact) {
|
|
2513
2513
|
this.clearTemplate(['valueTemplate']);
|
|
2514
|
+
if (this.valueTempElement) {
|
|
2515
|
+
detach(this.valueTempElement);
|
|
2516
|
+
this.inputElement.style.display = 'block';
|
|
2517
|
+
this.valueTempElement = null;
|
|
2518
|
+
}
|
|
2514
2519
|
}
|
|
2515
2520
|
if (!this.valueTempElement) {
|
|
2516
2521
|
this.valueTempElement = this.createElement('span', { className: dropDownListClasses.value });
|
|
2517
2522
|
this.inputElement.parentElement.insertBefore(this.valueTempElement, this.inputElement);
|
|
2518
2523
|
this.inputElement.style.display = 'none';
|
|
2519
2524
|
}
|
|
2520
|
-
|
|
2525
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2526
|
+
if (!this.isReact) {
|
|
2527
|
+
this.valueTempElement.innerHTML = '';
|
|
2528
|
+
}
|
|
2521
2529
|
var valuecheck = this.dropdownCompiler(this.valueTemplate);
|
|
2522
2530
|
if (valuecheck) {
|
|
2523
2531
|
compiledString = compile(document.querySelector(this.valueTemplate).innerHTML.trim());
|
|
@@ -9432,6 +9440,9 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
9432
9440
|
};
|
|
9433
9441
|
MultiSelect.prototype.getQuery = function (query) {
|
|
9434
9442
|
var filterQuery = query ? query.clone() : this.query ? this.query.clone() : new Query();
|
|
9443
|
+
if (this.isFiltered) {
|
|
9444
|
+
return filterQuery;
|
|
9445
|
+
}
|
|
9435
9446
|
if (this.filterAction) {
|
|
9436
9447
|
if (this.targetElement() !== null) {
|
|
9437
9448
|
var dataType = this.typeOfData(this.dataSource).typeof;
|