API reference > @kontsedal/olas-zod > ZodFormOptions
ZodFormOptions type
Options for createZodForm(ctx, schema, options?).
Signature:
typescript
export type ZodFormOptions<T extends z.ZodObject<z.ZodRawShape>> = {
initial?: DeepPartial<z.infer<T>> | (() => DeepPartial<z.infer<T>> | undefined);
resetOnInitialChange?: 'when-clean' | 'never' | 'always';
extraValidators?: ExtraValidators;
};References: DeepPartial, ExtraValidators