#Zod with next js and shadcn ui

1 messages · Page 1 of 1 (latest)

narrow boughBOT
#

Hi @cloud briar. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

Hmm, I don't know enough to give you a confident answer yet. The information extracts provided do not contain specific details about using Zod with Next.js and Shadcn UI. However, they do mention using Zod for server-side validation in Next.js, and some examples of form handling in Next.js.

For more information on server-side validation with Zod in Next.js, you can refer to the Next.js documentation (https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations#server-side-validation-and-error-handling).

For issues related to form handling in Next.js, you might find some insights from the Github issues (https://github.com/vercel/next.js/issues) discussed in the extracts.

Remember to ensure that the name attribute in your FormField component matches the structure of your Zod schema. If you're still having issues, it might be helpful to seek assistance from the Shadcn UI documentation or community, or the Zod documentation or community.

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: