react-ts-form icon indicating copy to clipboard operation
react-ts-form copied to clipboard

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

Open Seanmclem opened this issue 1 year ago • 1 comments

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

Seanmclem avatar Sep 06 '24 19:09 Seanmclem