-
Notifications
You must be signed in to change notification settings - Fork 24
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
Zod schema array of objects #233
Comments
You should treat type as an "input" not a separate field in your form. So in your case it should be given a ref and as an input, similar to name and e-mail inputs. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi everyone,
I'm trying to create a form with the following schema:
and this is the code for the form implementation
this is basically this example example and I just added an extra option
type
which is an enum with some options.Αs a result I would expect the type field to be a dropdown field but the result is the following
Is it something I am doing wrong?
The text was updated successfully, but these errors were encountered: