# Interface FormDefinitionMetadata

interface FormDefinitionMetadata {
asyncValidators?: null | AsyncValidatorFn | AsyncValidatorFn[];
autoSubmit?: number | boolean;
controlType?: Constructor<RxapFormControl<any, any, any>>;
disabled?: boolean;
id: string;
injectValidators?: (
| Type<InjectableValidator>
| InjectionToken<InjectableValidator>
| AbstractType<InjectableValidator>
)[];
providers?: StaticProvider[];
readonly?: boolean;
state?: any;
updateOn?: "change" | "blur" | "submit";
validators?: null | ValidatorFn | ValidatorFn[];
[key: string]: any;
}

#### Hierarchy (View Summary)

- BaseDefinitionMetadata
- FormOptions
  - FormDefinitionMetadata

#### Indexable

- [key: string]: any

- Defined in packages/angular/forms/src/lib/model.ts:103

#####
Index

### Properties

asyncValidators?
autoSubmit?
controlType?
disabled?
id
injectValidators?
providers?
readonly?
state?
updateOn?
validators?

##
Properties

### `Optional` asyncValidators

asyncValidators?: null | AsyncValidatorFn | AsyncValidatorFn[]

#### Description

The list of async validators applied to control.

Inherited from FormOptions.asyncValidators

- Defined in node_modules/@angular/forms/index.d.ts:905

### `Optional` autoSubmit

autoSubmit?: number | boolean

true - after 5000ms the form is automatically submitted if valid number - after the set ms the is automatically submitted if valid

- Defined in packages/angular/forms/src/lib/model.ts:111

### `Optional` controlType

controlType?: Constructor<RxapFormControl<any, any, any>>

Inherited from FormOptions.controlType

- Defined in packages/angular/forms/src/lib/model.ts:40

### `Optional` disabled

disabled?: boolean

Inherited from FormOptions.disabled

- Defined in packages/angular/forms/src/lib/model.ts:41

### id

id: string

Inherited from FormOptions.id

- Defined in packages/angular/definition/src/lib/definition.metadata.ts:9

### `Optional` injectValidators

injectValidators?: (
| Type<InjectableValidator>
| InjectionToken<InjectableValidator>
| AbstractType<InjectableValidator>
)[]

Inherited from FormOptions.injectValidators

- Defined in packages/angular/forms/src/lib/model.ts:35

### `Optional` providers

providers?: StaticProvider[]

- Defined in packages/angular/forms/src/lib/model.ts:106

### `Optional` readonly

readonly?: boolean

Inherited from FormOptions.readonly

- Defined in packages/angular/forms/src/lib/model.ts:42

### `Optional` state

state?: any

Inherited from FormOptions.state

- Defined in packages/angular/forms/src/lib/model.ts:34

### `Optional` updateOn

updateOn?: "change" | "blur" | "submit"

#### Description

The event name for control to update upon.

Inherited from FormOptions.updateOn

- Defined in node_modules/@angular/forms/index.d.ts:910

### `Optional` validators

validators?: null | ValidatorFn | ValidatorFn[]

#### Description

The list of validators applied to a control.

Inherited from FormOptions.validators

- Defined in node_modules/@angular/forms/index.d.ts:900