Skip to content

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

@Seanmclem

Description

@Seanmclem

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions