@syncfusion/ej2-dropdowns 20.1.57 → 20.1.60

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.
@@ -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
- this.valueTempElement.innerHTML = '';
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());
@@ -7863,7 +7871,7 @@ var ComboBox = /** @__PURE__ @class */ (function (_super) {
7863
7871
  else if (this.isTyped && !this.isSelected && isNullOrUndefined(li)) {
7864
7872
  this.customValue(e);
7865
7873
  }
7866
- this.hidePopup();
7874
+ this.hidePopup(e);
7867
7875
  };
7868
7876
  ComboBox.prototype.setHoverList = function (li) {
7869
7877
  this.removeSelection();
@@ -8525,8 +8533,8 @@ var AutoComplete = /** @__PURE__ @class */ (function (_super) {
8525
8533
  *
8526
8534
  * @returns {void}
8527
8535
  */
8528
- AutoComplete.prototype.hidePopup = function () {
8529
- _super.prototype.hidePopup.call(this);
8536
+ AutoComplete.prototype.hidePopup = function (e) {
8537
+ _super.prototype.hidePopup.call(this, e);
8530
8538
  this.activeIndex = -1;
8531
8539
  };
8532
8540
  /**
@@ -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;