@syncfusion/ej2-querybuilder 19.4.48 → 19.4.50

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.
@@ -1315,6 +1315,9 @@ var QueryBuilder = /** @__PURE__ @class */ (function (_super) {
1315
1315
  };
1316
1316
  QueryBuilder.prototype.changeField = function (args) {
1317
1317
  if (args.isInteracted) {
1318
+ if (isNullOrUndefined(args.value)) {
1319
+ return;
1320
+ }
1318
1321
  this.isFieldChange = true;
1319
1322
  this.prevItemData = args.itemData;
1320
1323
  var fieldElem = closest(args.element, '.e-rule-filter') || closest(args.element, '.e-rule-sub-filter');
@@ -1455,7 +1458,7 @@ var QueryBuilder = /** @__PURE__ @class */ (function (_super) {
1455
1458
  getComponent(tooltipElem[i], 'tooltip').destroy();
1456
1459
  }
1457
1460
  if (!args.cancel) {
1458
- if (this.selectedColumn === null) {
1461
+ if (isNullOrUndefined(this.selectedColumn)) {
1459
1462
  return;
1460
1463
  }
1461
1464
  tempRule.type = this.selectedColumn.type;