# InjectFieldConfig

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

Configuration object for creating a field store with [`injectField`](/angular/api/injectField.md).

## Generics

- `TSchema` `extends FormSchema`
- `TFieldPath` `extends RequiredPath`

## Definition

- `InjectFieldConfig`
  - `path` `SignalOrValue<ValidPath<v.InferInput<TSchema>, TFieldPath>>`

### Explanation

The `path` may be passed as a plain array or as a signal. Passing a signal is useful when the field a component points at changes over time, for example when the index of an item in a field array is bound to an input signal.
