@zeedhi/common 1.65.0 → 1.66.0

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.
@@ -1785,12 +1785,14 @@ class Input extends ComponentRender {
1785
1785
  */
1786
1786
  removeValidation(name) {
1787
1787
  delete this.parsedValidations[name];
1788
+ delete this.validations[name];
1788
1789
  this.updateRules();
1789
1790
  }
1790
1791
  /**
1791
1792
  * Removes all input validation.
1792
1793
  */
1793
1794
  clearValidations() {
1795
+ this.parsedValidations = {};
1794
1796
  this.validations = {};
1795
1797
  this.rules = [];
1796
1798
  }
@@ -1792,12 +1792,14 @@
1792
1792
  */
1793
1793
  removeValidation(name) {
1794
1794
  delete this.parsedValidations[name];
1795
+ delete this.validations[name];
1795
1796
  this.updateRules();
1796
1797
  }
1797
1798
  /**
1798
1799
  * Removes all input validation.
1799
1800
  */
1800
1801
  clearValidations() {
1802
+ this.parsedValidations = {};
1801
1803
  this.validations = {};
1802
1804
  this.rules = [];
1803
1805
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeedhi/common",
3
- "version": "1.65.0",
3
+ "version": "1.66.0",
4
4
  "description": "Zeedhi Common",
5
5
  "author": "Zeedhi <zeedhi@teknisa.com>",
6
6
  "license": "ISC",
@@ -39,5 +39,5 @@
39
39
  "lodash.times": "^4.3.2",
40
40
  "mockdate": "^3.0.2"
41
41
  },
42
- "gitHead": "9cc57793d46b9a160449bd16cf62c19c6ad63bcf"
42
+ "gitHead": "e7d698eaa1de2b4158b12f383ffddd2707b31340"
43
43
  }