# InsertConfig

> This document is the Markdown version of [formisch.dev/methods/api/InsertConfig/](https://formisch.dev/methods/api/InsertConfig/). For the complete documentation index, see [llms.txt](https://formisch.dev/llms.txt).

Configuration interface for inserting items into array fields. Used by the `insert` method.

## Generics

- `TSchema` `extends FormSchema`
- `TFieldArrayPath` `extends RequiredPath`

## Definition

- `InsertConfig`
  - `path` `ValidArrayPath<v.InferInput<TSchema>, TFieldArrayPath>`
  - `at` `number | undefined`
  - `initialInput` `DeepPartial<PathValue<v.InferInput<TSchema>, [...TFieldArrayPath, number]>> | undefined`

## Related

### Methods

[`insert`](/methods/api/insert.md)
