﻿<head><script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4357510538660394"
     crossorigin="anonymous"></script></head># FormConfig

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

Form config interface that defines the configuration options for creating a form store with [`injectForm`](/angular/api/injectForm.md).

## Generics

- `TSchema` `extends FormSchema = FormSchema`

## Definition

- `FormConfig`
  - `schema` `TSchema`
  - `initialInput` `DeepPartial<v.InferInput<TSchema>> | undefined`
  - `emptyInput` `EmptyInput | undefined`
  - `validate` `ValidationMode | undefined`
  - `revalidate` `Exclude<ValidationMode, 'initial'> | undefined`

### Explanation

The `FormConfig` object is passed to [`injectForm`](/angular/api/injectForm.md) 