Function: processNullable()
processNullable(
schema,ctx,field,params):void
Defined in: packages/core/src/processors/wrappers.ts:69
Process z.nullable() — unwraps to the inner type and marks the field as not required.
Nullable fields accept null in addition to the inner type; the field renders normally.
Parameters
schema
$ZodNullable
The $ZodNullable schema to unwrap.
ctx
The walker context providing the processor registry for inner type dispatch.
field
The base FormField to mutate in-place.
params
Parent path metadata passed through to the inner processor.
Returns
void