@syncfusion/ej2-querybuilder 21.1.35 → 21.2.3

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.
@@ -878,8 +878,8 @@ var QueryBuilder = /** @__PURE__ @class */ (function (_super) {
878
878
  else if ((dropDownObj && dropDownObj.element && isNullOrUndefined(dropDownObj.index)) ||
879
879
  (dropDownTreeObj && dropDownTreeObj.element && (isNullOrUndefined(dropDownTreeObj.value) ||
880
880
  dropDownTreeObj.value.length < 1))) {
881
- if (fieldElem.className.indexOf('e-tooltip') < 0) {
882
- this.renderToolTip(fieldElem);
881
+ if (fieldElem.parentElement.className.indexOf('e-tooltip') < 0) {
882
+ this.renderToolTip(fieldElem.parentElement);
883
883
  }
884
884
  isValid = false;
885
885
  }
@@ -2685,8 +2685,8 @@ var QueryBuilder = /** @__PURE__ @class */ (function (_super) {
2685
2685
  if (!this.isImportRules) {
2686
2686
  this.trigger('change', eventsArgs);
2687
2687
  }
2688
- if (this.allowValidation && rule.rules[index].field && target.className.indexOf('e-tooltip') > -1) {
2689
- getComponent(target, 'tooltip').destroy();
2688
+ if (this.allowValidation && rule.rules[index].field && target.parentElement.className.indexOf('e-tooltip') > -1) {
2689
+ getComponent(target.parentElement, 'tooltip').destroy();
2690
2690
  }
2691
2691
  this.filterRules(beforeRules, this.getValidRules(this.rule), 'field');
2692
2692
  }