@syncfusion/ej2-querybuilder 22.2.8 → 22.2.9

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.
@@ -1335,9 +1335,14 @@ var QueryBuilder = /** @__PURE__ @class */ (function (_super) {
1335
1335
  if (element.className.indexOf('e-radio') > -1) {
1336
1336
  // eslint-disable-next-line
1337
1337
  rbValue = parseInt(element.id.split('valuekey')[1], 0);
1338
- dropDownObj =
1339
- getComponent(closest(element, '.e-rule-container').querySelector('.e-filter-input'), 'dropdownlist');
1340
- this.selectedColumn = dropDownObj.getDataByValue(dropDownObj.value);
1338
+ if (this.fieldMode === 'Default') {
1339
+ dropDownObj = getComponent(closest(element, '.e-rule-container').querySelector('.e-filter-input'), 'dropdownlist');
1340
+ this.selectedColumn = dropDownObj.getDataByValue(dropDownObj.value);
1341
+ }
1342
+ else {
1343
+ dropDownObj = getComponent(closest(element, '.e-rule-container').querySelector('.e-filter-input'), 'dropdowntree');
1344
+ this.selectedColumn = this.getColumn(dropDownObj.value[0]);
1345
+ }
1341
1346
  if (this.selectedColumn.values) {
1342
1347
  value = this.selectedColumn.values[rbValue];
1343
1348
  }