uniforms
uniforms copied to clipboard
Blank field gives error even though optional
problem
If the schema is optional with a min length it won't accept it when you type something and then backspace it until empty again.
z.object({ text: z.string().min(1).optional() })
packages
import ZodBridge from "uniforms-bridge-zod";
import { AutoForm } from "uniforms-mui";