In the snippet above the value 255 in max for username was populated by default however min value was edited to change from 1 to 8.
Similarly the fields for min and max was changed for password field and it shows as string values which leads to syntax error in zod.
Create a new form and add a field and then change the default values for min and max and generate the code.
The generated code has value to the min function as string however it should be integer
const formSchema = z.object({"username":z.string().min("8").max(255),"password":z.string().min("10").max("256")}).strict()
In the snippet above the value 255 in max for username was populated by default however min value was edited to change from 1 to 8. Similarly the fields for min and max was changed for password field and it shows as string values which leads to syntax error in zod.