Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

server actions example errors when using zod adapter #690

Open
juliusmarminge opened this issue Apr 26, 2024 · 1 comment
Open

server actions example errors when using zod adapter #690

juliusmarminge opened this issue Apr 26, 2024 · 1 comment
Labels

Comments

@juliusmarminge
Copy link

Describe the bug

When adding a validator adapter to the next server actions example it starts erroring trying to read the validator. Maybe I'm setting it up incorrectly but i just added the adapter

Your minimal, reproducible example

https://github.com/juliusmarminge/tanstack-form-zod-server-actions

Steps to reproduce

Install deps, start server and try to submit:

CleanShot.2024-04-26.at.23.20.59.mp4

Expected behavior

it to work

How often does this bug happen?

Every time

Screenshots or Videos

No response

Platform

Don't think it's relevant but..

  • Latest macOS
  • Latest Arc

TanStack Form adapter

react-form

TanStack Form version

0.19.4

TypeScript version

5.4.2

Additional context

No response

@crutchcorn
Copy link
Member

I think I know what's going on - oversight on my part when implementing the SSR stuff.

I'll investigate on this soon

@crutchcorn crutchcorn added the bug label Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants