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

Docs: No guidance or examples on formatting Select List options for Zod schema #144

Open
Seanmclem opened this issue Sep 6, 2024 · 0 comments

Comments

@Seanmclem
Copy link

Seanmclem commented Sep 6, 2024

Version Number

latest

Codesandbox/Expo snack

https://codesandbox.io/p/sandbox/react-ts-form-example-6gkuyx?file=%2Fsrc%2FApp.tsx%3A136%2C47

Steps to reproduce

  1. Go to https://react-ts-form.com/docs/docs/example-inputs/select
  2. You can see how to setup a Select List component. Seen here. It takes a list of options.
  3. The codesandbox example does not show how to pass these options via a Zod schema
  4. The Form examples do not show how to pass these options via a Zod schema
  5. Nowhere is it described how to pass these options via a Zod schema

Expected behaviour

It should say somewhere. how to do it.

Relevant log output

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant