@syncfusion/ej2-dropdowns 23.1.43 → 23.1.44

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.
@@ -845,7 +845,9 @@ var DropDownBase = /** @__PURE__ @class */ (function (_super) {
845
845
  }
846
846
  }
847
847
  else {
848
- ele.appendChild(noDataElement[i]);
848
+ if (noDataElement[i] instanceof HTMLElement) {
849
+ ele.appendChild(noDataElement[i]);
850
+ }
849
851
  }
850
852
  }
851
853
  }
@@ -18001,7 +18003,7 @@ var Mention = /** @__PURE__ @class */ (function (_super) {
18001
18003
  var currentRange = this.getTextRange();
18002
18004
  var lastWordRange = this.getLastLetter(currentRange);
18003
18005
  // eslint-disable-next-line security/detect-non-literal-regexp
18004
- var Regex = new RegExp(this.mentionChar, 'g');
18006
+ var Regex = new RegExp(this.mentionChar.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&'), 'g');
18005
18007
  var charRegex = new RegExp('[a-zA-Z]', 'g');
18006
18008
  if (e.key === 'Shift' || e.keyCode === 37 || e.keyCode === 39) {
18007
18009
  return;
@@ -19144,7 +19146,6 @@ var Mention = /** @__PURE__ @class */ (function (_super) {
19144
19146
  this.previousSelectedLI = null;
19145
19147
  this.item = null;
19146
19148
  this.selectedLI = null;
19147
- this.inputElement.innerText = null;
19148
19149
  this.popupObj = null;
19149
19150
  _super.prototype.destroy.call(this);
19150
19151
  };