Function: processReadonly()
processReadonly(
schema,ctx,field,params):void
Defined in: packages/core/src/processors/wrappers.ts:126
Process z.readonly() — marks the field as read-only and delegates to the inner type.
The rendered component receives readOnly: true via the base field props.
Parameters
schema
$ZodReadonly
The $ZodReadonly 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