Forms with validation (Next.js + Zod + react-hook-form)

preview_player
Показать описание
In this video you'll learn to create a form with validation using react-hook-form, and zod.
Рекомендации по теме
Комментарии
Автор

i have two date values From and To, i want to validate those dates, such the To date value is not earlier than the From date, how to do so??

nsd
Автор

what if your select options would come from db, how your code would change?

MrPukamir
Автор

Why form has weight as string defined, makes it difficult to post the data into the database.

techs
welcome to shbcf.ru