Skip to main content

Function: processSet()

processSet(schema, ctx, field, params): void

Defined in: packages/core/src/processors/collections.ts:16

Process z.set() — renders as an array-like repeater of unique items. The value type determines the item template stored in field.arrayItem.

Parameters​

schema​

$ZodSet

The $ZodSet schema whose valueType drives the item template.

ctx​

FormProcessorContext

The walker context providing child processing.

field​

FormField

The base FormField to mutate in-place.

params​

ProcessParams

Parent path metadata for constructing the item template key.

Returns​

void