Skip to Content
ContentAPIInterfacesInterface: AutocompleteOption<TValue>

Hero Hook Form API v2.5.1


Hero Hook Form API / AutocompleteOption

Interface: AutocompleteOption<TValue>

Defined in: fields/AutocompleteField.tsx:17 

Configuration for an autocomplete option.

Type Parameters

TValue

TValue extends string | number

The value type for the option

Properties

label

label: string

Defined in: fields/AutocompleteField.tsx:19 

Display label for the option


value

value: TValue

Defined in: fields/AutocompleteField.tsx:21 

Value of the option


description?

optional description: string

Defined in: fields/AutocompleteField.tsx:23 

Optional description text


disabled?

optional disabled: boolean

Defined in: fields/AutocompleteField.tsx:25 

Whether the option is disabled