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?
optionaldescription:string
Defined in: fields/AutocompleteField.tsx:23
Optional description text
disabled?
optionaldisabled:boolean
Defined in: fields/AutocompleteField.tsx:25
Whether the option is disabled