@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.esm.js
CHANGED
|
@@ -6097,8 +6097,9 @@ var generateClickHandler = function generateClickHandler(form, handleErrors, sub
|
|
|
6097
6097
|
e.preventDefault();
|
|
6098
6098
|
|
|
6099
6099
|
if (resetErrors) {
|
|
6100
|
-
// if provided, will reset error state tracker
|
|
6100
|
+
console.log("reset errors", resetErrors); // if provided, will reset error state tracker
|
|
6101
6101
|
// allows hooks that depend on error state to re-run
|
|
6102
|
+
|
|
6102
6103
|
resetErrors();
|
|
6103
6104
|
}
|
|
6104
6105
|
|