@syncfusion/ej2-dropdowns 27.1.57 → 27.1.58

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.
@@ -5054,6 +5054,7 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
5054
5054
  var currentValue = this.allowObjectBinding && !isNullOrUndefined(this.value) ?
5055
5055
  getValue((this.fields.value) ? this.fields.value : '', this.value) : this.value;
5056
5056
  this.itemData = this.getDataByValue(currentValue);
5057
+ this.selectedLI = this.getElementByValue(currentValue);
5057
5058
  this.isDynamicData = false;
5058
5059
  }
5059
5060
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
@@ -10318,7 +10319,7 @@ var DropDownTree = /** @__PURE__ @class */ (function (_super) {
10318
10319
  this.isPopupOpen = false;
10319
10320
  if (this.isReact) {
10320
10321
  this.clearTemplate(['headerTemplate', 'footerTemplate', 'itemTemplate', 'actionFailureTemplate',
10321
- 'noRecordsTemplate', 'customTemplate']);
10322
+ 'noRecordsTemplate']);
10322
10323
  }
10323
10324
  if (this.popupObj) {
10324
10325
  this.popupObj.destroy();
@@ -10680,6 +10681,7 @@ var ComboBox = /** @__PURE__ @class */ (function (_super) {
10680
10681
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
10681
10682
  ComboBox.prototype.setOldValue = function (value) {
10682
10683
  if (this.allowCustom) {
10684
+ this.selectedLI = this.getElementByValue(this.value);
10683
10685
  this.valueMuteChange(this.value);
10684
10686
  }
10685
10687
  else {