@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.
@@ -1736,13 +1736,12 @@ let QueryBuilder = class QueryBuilder extends Component {
1736
1736
  const subFieldElem = this.createElement('input', { attrs: { type: 'text', id: ruleId + '_subfilterkey' + this.subFilterCounter } });
1737
1737
  tempElem.appendChild(subFieldElem);
1738
1738
  const height = (this.element.className.indexOf('e-device') > -1) ? '250px' : '200px';
1739
- const subFieldData = Object.keys(this.selectedColumn.columns[0]);
1740
1739
  let ddlField;
1741
1740
  ddlField = {
1742
1741
  dataSource: this.selectedColumn.columns,
1743
1742
  fields: this.fields,
1744
1743
  placeholder: this.l10n.getConstant('SelectField'),
1745
- popupHeight: ((subFieldData.length > 5) ? height : 'auto'),
1744
+ popupHeight: ((this.selectedColumn.columns.length > 5) ? height : 'auto'),
1746
1745
  change: this.changeField.bind(this),
1747
1746
  index: 0,
1748
1747
  open: this.popupOpen.bind(this, false)