@syncfusion/ej2-dropdowns 27.2.4 → 27.2.5

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.
@@ -1998,7 +1998,13 @@ let DropDownBase = class DropDownBase extends Component {
1998
1998
  const oldUlElement = this.list.querySelector('.e-list-parent');
1999
1999
  const virtualUlElement = this.list.querySelector('.e-virtual-ddl-content');
2000
2000
  if ((listData.length >= this.virtualizedItemsCount && oldUlElement && virtualUlElement) || (oldUlElement && virtualUlElement && this.isAllowFiltering) || (oldUlElement && virtualUlElement && this.getModuleName() === 'autocomplete')) {
2001
- virtualUlElement.replaceChild(ulElement, oldUlElement);
2001
+ if (this.getModuleName() === 'multiselect' && this.isCheckBoxSelection && this.appendUncheckList && this.list && this.list.querySelector('.e-active')) {
2002
+ virtualUlElement.appendChild(ulElement);
2003
+ isCheckBoxUpdate = true;
2004
+ }
2005
+ else {
2006
+ virtualUlElement.replaceChild(ulElement, oldUlElement);
2007
+ }
2002
2008
  const reOrderList = this.list.querySelectorAll('.e-reorder');
2003
2009
  if (this.list.querySelector('.e-virtual-ddl-content') && reOrderList && reOrderList.length > 0 && !isCheckBoxUpdate) {
2004
2010
  this.list.querySelector('.e-virtual-ddl-content').removeChild(reOrderList[0]);
@@ -7182,7 +7188,7 @@ let DropDownTree = class DropDownTree extends Component {
7182
7188
  }
7183
7189
  else {
7184
7190
  if (!isNullOrUndefined(this.element.id)) {
7185
- this.inputEle = this.createElement('input', { attrs: { role: 'textbox', type: 'text', id: this.element.id } });
7191
+ this.inputEle = this.createElement('input', { attrs: { role: 'textbox', type: 'text', id: this.element.id + '_textbox' } });
7186
7192
  }
7187
7193
  else {
7188
7194
  this.inputEle = this.createElement('input', { attrs: { role: 'textbox', type: 'text' } });
@@ -8409,6 +8415,9 @@ let DropDownTree = class DropDownTree extends Component {
8409
8415
  const id = this.value[0].toString();
8410
8416
  if (this.treeObj.selectedNodes[0] !== id) {
8411
8417
  setValue('selectedNodes', [id], this.treeObj);
8418
+ if (this.fields.dataSource instanceof DataManager) {
8419
+ this.updateSelectedValues();
8420
+ }
8412
8421
  }
8413
8422
  }
8414
8423
  else {
@@ -15272,6 +15281,7 @@ let MultiSelect = class MultiSelect extends DropDownBase {
15272
15281
  clearAll(e) {
15273
15282
  if (this.enabled && !this.readonly) {
15274
15283
  let temp;
15284
+ this.setDynValue = false;
15275
15285
  if (this.value && this.value.length > 0) {
15276
15286
  if (this.allowFiltering) {
15277
15287
  this.refreshListItems(null);