Describe the bug
Not found optional form. show error
export const usersSchema = object({
id: number(),
name: string( [
minLength(1),
minLength(3),
maxLength(20),
]),
address: optional(
string([minLength(10)]) // show error miLength when i submit form. should not show this error because is optional
))
Describe the bug Not found optional form. show error
Dependencies "@hookform/resolvers": "^3.3.2", "react-hook-form": "^7.48.2", "valibot": "^0.20.1",