Closed grmkris closed 8 months ago
if i have a form like:
// ❌ const schema = z.object({ a: z.string(), b: z.object({ x: z.string(), }).optional(), });
autoform breaks, if i remove .optional it works
// ✅ export const testSchema = z.object({ a: z.string(), b: z.object({ x: z.string(), }), });
if i have a form like:
autoform breaks, if i remove .optional it works