Zob nested object with react hook form?
I have a schema like this in zod:
I am setting each field like this in my component
But I still get this validation error:
I think I am doing something wrong with the nested object validation in my zod, any ideas?
4 Replies
the name of the nested field in the input should be
bank_account.iban
instead of just iban
i believeUnknown User•3y ago
Message Not Public
Sign In & Join Server To View
Did not try it yet, going to try it now @Regular_Trashman did that answer work for you?
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View