@syncfusion/ej2-querybuilder 23.1.41 → 23.2.4

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.
@@ -3219,6 +3219,9 @@ let QueryBuilder = class QueryBuilder extends Component {
3219
3219
  this.element.style.height = this.height;
3220
3220
  break;
3221
3221
  case 'rule':
3222
+ if (this.rule.rules.length == 0 && !isNullOrUndefined(this.rule)) {
3223
+ this.reset();
3224
+ }
3222
3225
  this.rule = newProp.rule;
3223
3226
  newProp.rule = this.getRuleCollection(this.rule, false);
3224
3227
  break;