@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.
@@ -826,8 +826,8 @@ let QueryBuilder = class QueryBuilder extends Component {
826
826
  else if ((dropDownObj && dropDownObj.element && isNullOrUndefined(dropDownObj.index)) ||
827
827
  (dropDownTreeObj && dropDownTreeObj.element && (isNullOrUndefined(dropDownTreeObj.value) ||
828
828
  dropDownTreeObj.value.length < 1))) {
829
- if (fieldElem.className.indexOf('e-tooltip') < 0) {
830
- this.renderToolTip(fieldElem);
829
+ if (fieldElem.parentElement.className.indexOf('e-tooltip') < 0) {
830
+ this.renderToolTip(fieldElem.parentElement);
831
831
  }
832
832
  isValid = false;
833
833
  }
@@ -2622,8 +2622,8 @@ let QueryBuilder = class QueryBuilder extends Component {
2622
2622
  if (!this.isImportRules) {
2623
2623
  this.trigger('change', eventsArgs);
2624
2624
  }
2625
- if (this.allowValidation && rule.rules[index].field && target.className.indexOf('e-tooltip') > -1) {
2626
- getComponent(target, 'tooltip').destroy();
2625
+ if (this.allowValidation && rule.rules[index].field && target.parentElement.className.indexOf('e-tooltip') > -1) {
2626
+ getComponent(target.parentElement, 'tooltip').destroy();
2627
2627
  }
2628
2628
  this.filterRules(beforeRules, this.getValidRules(this.rule), 'field');
2629
2629
  }