You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From what I can tell, it looks like serialization for the whole zod schema is problematic with server components. I tried using the SuperJSON plugin but that only throws other serialization errors.
For now, I would recommend using the AutoForm component inside a client component. If someone finds a way to enable using AutoForm in server components I'm happy to accept a PR!
This issue occurs in the date-picker ui component at the setDate prop when using it in Next.js 13.4.
setDate can not be of type (date?: Date) => void
The text was updated successfully, but these errors were encountered: