@syncfusion/ej2-querybuilder 23.1.41 → 23.1.44

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.
@@ -3283,6 +3283,9 @@ var QueryBuilder = /** @__PURE__ @class */ (function (_super) {
3283
3283
  this.element.style.height = this.height;
3284
3284
  break;
3285
3285
  case 'rule':
3286
+ if (this.rule.rules.length == 0 && !isNullOrUndefined(this.rule)) {
3287
+ this.reset();
3288
+ }
3286
3289
  this.rule = newProp.rule;
3287
3290
  newProp.rule = this.getRuleCollection(this.rule, false);
3288
3291
  break;