@formkit/zod 0.18.0-17489cc → 0.18.0-23c4d8f
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 +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -101,7 +101,7 @@ function createZodPlugin(zodSchema, submitCallback) {
|
|
|
101
101
|
setFormValidations(zodResults.error, node);
|
|
102
102
|
}
|
|
103
103
|
else {
|
|
104
|
-
await submitCallback(
|
|
104
|
+
await submitCallback(zodResults.data, node);
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
// Sets the form errors on the correct nodes.
|
package/dist/index.d.ts
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -97,7 +97,7 @@ function createZodPlugin(zodSchema, submitCallback) {
|
|
|
97
97
|
setFormValidations(zodResults.error, node);
|
|
98
98
|
}
|
|
99
99
|
else {
|
|
100
|
-
await submitCallback(
|
|
100
|
+
await submitCallback(zodResults.data, node);
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
103
|
// Sets the form errors on the correct nodes.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@formkit/zod",
|
|
3
|
-
"version": "0.18.0-
|
|
3
|
+
"version": "0.18.0-23c4d8f",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Zod validation for FormKit.",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"test": "jest"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@formkit/core": "0.18.0-
|
|
37
|
+
"@formkit/core": "0.18.0-23c4d8f"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {},
|
|
40
40
|
"peerDependencies": {
|