@thecb/components 6.1.0-beta.4 → 6.1.0-beta.5
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.
- package/dist/index.cjs.js +2 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +2 -1
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/util/general.js +1 -0
package/dist/index.cjs.js
CHANGED
|
@@ -6105,8 +6105,9 @@ var generateClickHandler = function generateClickHandler(form, handleErrors, sub
|
|
|
6105
6105
|
e.preventDefault();
|
|
6106
6106
|
|
|
6107
6107
|
if (resetErrors) {
|
|
6108
|
-
// if provided, will reset error state tracker
|
|
6108
|
+
console.log("reset errors", resetErrors); // if provided, will reset error state tracker
|
|
6109
6109
|
// allows hooks that depend on error state to re-run
|
|
6110
|
+
|
|
6110
6111
|
resetErrors();
|
|
6111
6112
|
}
|
|
6112
6113
|
|