@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.
@@ -763,7 +763,9 @@ let DropDownBase = class DropDownBase extends Component {
763
763
  }
764
764
  }
765
765
  else {
766
- ele.appendChild(noDataElement[i]);
766
+ if (noDataElement[i] instanceof HTMLElement) {
767
+ ele.appendChild(noDataElement[i]);
768
+ }
767
769
  }
768
770
  }
769
771
  }
@@ -17682,7 +17684,7 @@ let Mention = class Mention extends DropDownBase {
17682
17684
  let currentRange = this.getTextRange();
17683
17685
  const lastWordRange = this.getLastLetter(currentRange);
17684
17686
  // eslint-disable-next-line security/detect-non-literal-regexp
17685
- const Regex = new RegExp(this.mentionChar, 'g');
17687
+ const Regex = new RegExp(this.mentionChar.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&'), 'g');
17686
17688
  const charRegex = new RegExp('[a-zA-Z]', 'g');
17687
17689
  if (e.key === 'Shift' || e.keyCode === 37 || e.keyCode === 39) {
17688
17690
  return;
@@ -18817,7 +18819,6 @@ let Mention = class Mention extends DropDownBase {
18817
18819
  this.previousSelectedLI = null;
18818
18820
  this.item = null;
18819
18821
  this.selectedLI = null;
18820
- this.inputElement.innerText = null;
18821
18822
  this.popupObj = null;
18822
18823
  super.destroy();
18823
18824
  }