We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2eb1bd6 commit 325af9bCopy full SHA for 325af9b
apps/docs/components/landing/interactive-demo.tsx
@@ -7,7 +7,7 @@ import { ZodProvider } from "@autoform/zod";
7
8
const defaultCode = `z.object({
9
name: z.string(),
10
- age: z.number(),
+ age: z.coerce.number(),
11
isHuman: z.boolean(),
12
})`;
13
const globalZod = z;
@@ -17,7 +17,7 @@ function InteractiveDemo() {
17
const [schema, setSchema] = React.useState<z.ZodObject<any, any> | null>(
18
z.object({
19
20
21
22
}),
23
);
0 commit comments