@syncfusion/ej2-querybuilder 27.1.50 → 27.1.52

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.
@@ -2084,7 +2084,9 @@ var QueryBuilder = /** @__PURE__ @class */ (function (_super) {
2084
2084
  if (isNaN(value) && elem.value.indexOf(decimalSeparator) !== -1) {
2085
2085
  value = this.intl.getNumberParser({ format: 'n' })(elem.value);
2086
2086
  }
2087
- numericTextBoxObj.value = value;
2087
+ if (!isNaN(value)) {
2088
+ numericTextBoxObj.value = value;
2089
+ }
2088
2090
  this.isNumInput = true;
2089
2091
  }
2090
2092
  }
@@ -3250,6 +3252,10 @@ var QueryBuilder = /** @__PURE__ @class */ (function (_super) {
3250
3252
  }
3251
3253
  target.nextElementSibling.innerHTML = '';
3252
3254
  }
3255
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
3256
+ if (this.isAngular && !isNullOrUndefined(prevItemData.key) && this.fieldMode === 'DropdownTree') {
3257
+ delete prevItemData.template;
3258
+ }
3253
3259
  }
3254
3260
  if (isRender) {
3255
3261
  this.validateValue(rule, closest(target, '.e-rule-container'));
@@ -3289,6 +3295,10 @@ var QueryBuilder = /** @__PURE__ @class */ (function (_super) {
3289
3295
  }
3290
3296
  }
3291
3297
  this.renderControls(target, itemData, rule, tempRule, isTempRendered);
3298
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
3299
+ if (this.isAngular && !isNullOrUndefined(itemData.key) && itemData.template && this.fieldMode === 'DropdownTree') {
3300
+ delete itemData.template;
3301
+ }
3292
3302
  }
3293
3303
  }
3294
3304
  else {