Function: processRecord()
processRecord(
schema,_ctx,field,_params):void
Defined in: packages/core/src/processors/record.ts:16
Process z.record() — renders as a plain Input with an item template derived from the value type.
The item template is stored in field.arrayItem for codegen to use in dynamic key-value entry forms.
Parameters
schema
$ZodRecord
The $ZodRecord schema whose valueType drives the item template.
_ctx
The walker context (unused for record processing).
field
The base FormField to mutate in-place.
_params
Unused; included for processor signature conformance.
Returns
void