Function: processArray()
processArray(
schema,ctx,field,params):void
Defined in: packages/core/src/processors/array.ts:19
Process z.array() — renders as an ArrayField component with an item template.
Extracts minLength/maxLength from the constraint bag and recurses on the element type.
Parameters
schema
$ZodArray
The $ZodArray schema to process.
ctx
The walker context providing processor registry and child processing.
field
The base FormField to mutate in-place.
params
Parent path metadata for constructing the item template key.
Returns
void
Remarks
The item template is constructed at key parentKey.0 (first index).
The runtime ArrayBlock and codegen both use field.arrayItem to build the repeater.