@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.
@@ -4937,6 +4937,7 @@ let DropDownList = class DropDownList extends DropDownBase {
4937
4937
  const currentValue = this.allowObjectBinding && !isNullOrUndefined(this.value) ?
4938
4938
  getValue((this.fields.value) ? this.fields.value : '', this.value) : this.value;
4939
4939
  this.itemData = this.getDataByValue(currentValue);
4940
+ this.selectedLI = this.getElementByValue(currentValue);
4940
4941
  this.isDynamicData = false;
4941
4942
  }
4942
4943
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
@@ -10125,7 +10126,7 @@ let DropDownTree = class DropDownTree extends Component {
10125
10126
  this.isPopupOpen = false;
10126
10127
  if (this.isReact) {
10127
10128
  this.clearTemplate(['headerTemplate', 'footerTemplate', 'itemTemplate', 'actionFailureTemplate',
10128
- 'noRecordsTemplate', 'customTemplate']);
10129
+ 'noRecordsTemplate']);
10129
10130
  }
10130
10131
  if (this.popupObj) {
10131
10132
  this.popupObj.destroy();
@@ -10472,6 +10473,7 @@ let ComboBox = class ComboBox extends DropDownList {
10472
10473
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
10473
10474
  setOldValue(value) {
10474
10475
  if (this.allowCustom) {
10476
+ this.selectedLI = this.getElementByValue(this.value);
10475
10477
  this.valueMuteChange(this.value);
10476
10478
  }
10477
10479
  else {