Closed ninnroot closed 10 months ago
Is there a feature to let you ignore certain fields in the zod schema while generating the form?
For example:
<AutoForm formSchema={formSchema} ignoreFields={["foo", "bar"]}> </AutoForm>
AutoForm probably won't support this as it can't validate the schema due to missing fields. You can use zod's omit function to change the schema directly instead.
omit
Is there a feature to let you ignore certain fields in the zod schema while generating the form?
For example: