FormField

The Form field type used in Statamic.

Type Definition

Form selector.

type 
FormField
<
T
extends string = string,
F
extends
Record
<string, any> =
Record
<string, any>,
> = (
ObjectValue
<
FormReference
<
T
>> &
F
) | null;
T
string
Specific form handle
F
Record<string, any>
Extended form properties beyond the base FormReference (optional)