GoldStrikeArch
GoldStrikeArch
Explore posts from servers
TTCTheo's Typesafe Cult
Created by GoldStrikeArch on 11/3/2023 in #questions
Zod validation with react-hook-form
Yes, I see. You are correct this should solve my case
12 replies
TTCTheo's Typesafe Cult
Created by GoldStrikeArch on 11/3/2023 in #questions
Zod validation with react-hook-form
Like if I need some fields to show all errors and other fields to show only first error, then I think I would need to use 2 different useForm hooks...
12 replies
TTCTheo's Typesafe Cult
Created by GoldStrikeArch on 11/3/2023 in #questions
Zod validation with react-hook-form
But this solutions doesn't seem flexible at all
12 replies
TTCTheo's Typesafe Cult
Created by GoldStrikeArch on 11/3/2023 in #questions
Zod validation with react-hook-form
@alexmartos Oh, I see, thank you! This is really helpful
12 replies
TTCTheo's Typesafe Cult
Created by GoldStrikeArch on 11/3/2023 in #questions
Zod validation with react-hook-form
@alexmartos Do you know how to implement this? I mean I am only getting a single error inside form.formState.errors ?
12 replies