tnx-shared 5.3.271 → 5.3.272

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.
@@ -13670,6 +13670,9 @@ class CrudFormComponent extends ComponentBase {
13670
13670
  return false;
13671
13671
  }
13672
13672
  }
13673
+ else {
13674
+ this.removeAllError();
13675
+ }
13673
13676
  return true;
13674
13677
  });
13675
13678
  }
@@ -13999,6 +14002,11 @@ class CrudFormComponent extends ComponentBase {
13999
14002
  this._removeError(field);
14000
14003
  }
14001
14004
  }
14005
+ removeAllError() {
14006
+ for (const childNode of this._rootNode.childNodes) {
14007
+ this.removeAllErrorByNodes(childNode);
14008
+ }
14009
+ }
14002
14010
  removeAllErrorByNodes(currentNode) {
14003
14011
  var _a, _b;
14004
14012
  currentNode.parentNode.model._errors[currentNode.field] = [];