auto-form icon indicating copy to clipboard operation
auto-form copied to clipboard

🌟 A React component that automatically creates a @shadcn/ui form based on a zod schema.

Results 74 auto-form issues
Sort by recently updated
recently updated
newest added

To begin, I want to express my gratitude for the chance to propose enhancements to this project! ## Description: I've observed that when utilizing `nativeEnum`, the values for `label` and...

Hi, i am using the following config to disable the date field, but it's not working : fieldConfig={{ date: { inputProps:{ disabled:true} },

Hi, I don't kown why i have a optional field in my zod schema when i put a default value for edit action. My field become required but i don't...

I love this lib. I would love it even more if we would have support for the new useFormState and useFormStatus hooks. It would make this library very convenient for...

I have tried just slapping className='grid grid-cols-2 gap-4' onto `Autoform` but no luck. Is there a way to achieve grid layout?

use enum problem The label's for attribute doesn't match any element id. This might prevent the browser from correctly autofilling the form and accessibility tools from working correctly. To fix...

Hey! I am trying to implement a rather complex form and would like to apply dependencies on nested fields. Here's a sample schema: ```ts inventory: z .array( z.object({ size: z.enum([...

I've hit a situation where I define the values in the schema, which is stored in a static file, but I want to override the default values via fieldConfig.inputProps which...

`Alternatively, you can pass a React component to the fieldType property to use a custom component.` overloading fieldType to render the component when you pass a function is not very...

I am generating schemas from drizzle tables so I don't control order of fields. Would be awesome to be able to reorder in fieldconfig