• Define array field with elements of type defined by provided innerDecoder. Default initial value will be [] Accepts empty arrays and arrays containing elements which are valid in respect to rules imposed by innerDecoder.

    Type Parameters

    • E

    Parameters

    Returns FieldDecoder<E[]>

    Example

    const Schema = new FormSchemaBuilder()
    .fields({
    x: FormFields.array(FormFields.string()) // x: string[]
    })
    .build()

Generated using TypeDoc