@syncfusion/ej2-dropdowns 34.2.7 → 34.2.8

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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 34.2.7
3
+ * version : 34.2.8
4
4
  * Copyright Syncfusion Inc. 2001 - 2025. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@syncfusion/ej2-dropdowns",
3
- "version": "34.2.7",
3
+ "version": "34.2.8",
4
4
  "description": "Essential JS 2 DropDown Components",
5
5
  "author": "Syncfusion Inc.",
6
6
  "license": "SEE LICENSE IN license",
@@ -8,13 +8,13 @@
8
8
  "module": "./index.js",
9
9
  "es2015": "./dist/es6/ej2-dropdowns.es5.js",
10
10
  "dependencies": {
11
- "@syncfusion/ej2-base": "~34.2.6",
12
- "@syncfusion/ej2-data": "~34.2.6",
13
- "@syncfusion/ej2-inputs": "~34.2.7",
14
- "@syncfusion/ej2-lists": "~34.2.6",
15
- "@syncfusion/ej2-navigations": "~34.2.7",
16
- "@syncfusion/ej2-notifications": "~34.2.6",
17
- "@syncfusion/ej2-popups": "~34.2.6"
11
+ "@syncfusion/ej2-base": "~34.2.8",
12
+ "@syncfusion/ej2-data": "~34.2.8",
13
+ "@syncfusion/ej2-inputs": "~34.2.8",
14
+ "@syncfusion/ej2-lists": "~34.2.8",
15
+ "@syncfusion/ej2-navigations": "~34.2.8",
16
+ "@syncfusion/ej2-notifications": "~34.2.8",
17
+ "@syncfusion/ej2-popups": "~34.2.8"
18
18
  },
19
19
  "devDependencies": {},
20
20
  "keywords": [
@@ -768,6 +768,9 @@ var DropDownBase = /** @class */ (function (_super) {
768
768
  }
769
769
  var query_1 = _this.getQuery(eventArgs.query);
770
770
  eventArgs.data.executeQuery(query_1).then(function (e) {
771
+ if (_this.isAngular && _this.isDestroyed) {
772
+ return;
773
+ }
771
774
  _this.isPreventChange = _this.isAngular && _this.preventChange ? true : _this.isPreventChange;
772
775
  var isReOrder = true;
773
776
  if (!_this.virtualSelectAll) {
@@ -829,6 +832,9 @@ var DropDownBase = /** @class */ (function (_super) {
829
832
  _this.isRequesting = false;
830
833
  _this.isCustomFiltering = false;
831
834
  var listItems = e.result;
835
+ if (_this.getModuleName() === 'dropdownlist' && listItems.length === 0 && _this.filterInput && _this.filterInput.value.trim() === '' && _this.actionCompleteData && _this.actionCompleteData.list && _this.actionCompleteData.list.length) {
836
+ listItems = _this.actionCompleteData.list;
837
+ }
832
838
  if (_this.isIncrementalRequest) {
833
839
  ulElement = _this.renderItems(listItems, fields);
834
840
  return;
@@ -4302,9 +4302,11 @@ var DropDownList = /** @class */ (function (_super) {
4302
4302
  DropDownList.prototype.updateFloatLabelOverflowWidth = function () {
4303
4303
  var container = this.inputWrapper.container;
4304
4304
  var label = container.querySelector('.e-float-text');
4305
- var calculateWidth = (container.clientWidth - this.getRightIconsWidth());
4306
- if (label && calculateWidth && !(this.cssClass && this.cssClass.split(' ').indexOf('e-outline') !== -1)) {
4307
- label.style.width = calculateWidth + 'px';
4305
+ if (label && !(this.cssClass && this.cssClass.split(' ').indexOf('e-outline') !== -1)) {
4306
+ var calculateWidth = (container.clientWidth - this.getRightIconsWidth());
4307
+ if (calculateWidth) {
4308
+ label.style.width = calculateWidth + 'px';
4309
+ }
4308
4310
  }
4309
4311
  };
4310
4312
  /**
@@ -6586,9 +6586,11 @@ var MultiSelect = /** @class */ (function (_super) {
6586
6586
  MultiSelect.prototype.updateFloatLabelOverflowWidth = function () {
6587
6587
  var container = this.overAllWrapper;
6588
6588
  var label = container.querySelector('.e-float-text');
6589
- var calculateWidth = (container.clientWidth - this.getRightIconsWidth());
6590
- if (label && calculateWidth && !(this.cssClass && this.cssClass.split(' ').indexOf('e-outline') !== -1)) {
6591
- label.style.width = calculateWidth + 'px';
6589
+ if (label && !(this.cssClass && this.cssClass.split(' ').indexOf('e-outline') !== -1)) {
6590
+ var calculateWidth = (container.clientWidth - this.getRightIconsWidth());
6591
+ if (calculateWidth) {
6592
+ label.style.width = calculateWidth + 'px';
6593
+ }
6592
6594
  }
6593
6595
  };
6594
6596
  /**