@syncfusion/ej2-querybuilder 25.1.38 → 25.1.40

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.
@@ -1793,13 +1793,12 @@ var QueryBuilder = /** @__PURE__ @class */ (function (_super) {
1793
1793
  var subFieldElem = this.createElement('input', { attrs: { type: 'text', id: ruleId + '_subfilterkey' + this.subFilterCounter } });
1794
1794
  tempElem.appendChild(subFieldElem);
1795
1795
  var height = (this.element.className.indexOf('e-device') > -1) ? '250px' : '200px';
1796
- var subFieldData = Object.keys(this.selectedColumn.columns[0]);
1797
1796
  var ddlField;
1798
1797
  ddlField = {
1799
1798
  dataSource: this.selectedColumn.columns,
1800
1799
  fields: this.fields,
1801
1800
  placeholder: this.l10n.getConstant('SelectField'),
1802
- popupHeight: ((subFieldData.length > 5) ? height : 'auto'),
1801
+ popupHeight: ((this.selectedColumn.columns.length > 5) ? height : 'auto'),
1803
1802
  change: this.changeField.bind(this),
1804
1803
  index: 0,
1805
1804
  open: this.popupOpen.bind(this, false)