chore(deps): update mantine monorepo to v9 (#5411)
Co-authored-by: Thomas Camlong <thomas@ajnart.fr>
This commit is contained in:
1 parent
fe3cebb902
commit
f7ea1b33a0
29 files changed
+707
-455
No files matched your search
@@ -1,5 +1,4 @@
|
||||
import { useForm } from "@mantine/form";
|
||||
import { zod4Resolver } from "mantine-form-zod-resolver";
|
||||
import { schemaResolver, useForm } from "@mantine/form";
|
||||
import type { ZodDiscriminatedUnion, ZodIntersection, ZodObject, ZodPipe } from "zod/v4";
|
||||
import { z } from "zod/v4";
|
||||
|
||||
@@ -34,6 +33,6 @@ export const useZodForm = <
|
||||
...options,
|
||||
validateInputOnBlur: true,
|
||||
validateInputOnChange: true,
|
||||
validate: zod4Resolver(schema),
|
||||
validate: schemaResolver(schema, { sync: true }),
|
||||
});
|
||||
};
|
||||
Reference in new issue
Block a user