@colbyw/autoform v1.0.0-rc.1
@colbyw/autoform
This is a demo of creating a form via the proposed AutoForm
component.
This component takes in a zod
schema and generates a functional form for you.
This demo (found at web/src/components/AutoFormDemo/AutoFormDemo.tsx
) generates a form based on a schema in web/src/schemas/Demo.ts
.
Fork this codesandbox and make changes to the schema and see if you can recreate real forms you have used before.
It's not expected you'll be able to create every type of form, but that's the feedback we're looking for.
What features are missing you would need to create a form?
Take a look at the component's in-progress doc at lib/autoform/src/AutoForm/README.md
to learn what the component currently can (and cannot) do.
Then fill out this survey to give feedback to help direct the project.
Relevant links
- CodeSandbox demo
- Feedback survey
- Form Generator project in Redwood's Notion
- Original proposal from @mdkess
5 months ago
5 months ago