Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AutocompleteProps<TOption>

Type parameters

  • TOption

Hierarchy

  • AutocompleteProps

Index

Properties

Optional disabled

disabled: undefined | false | true

Optional filterOptions

filterOptions: undefined | ((options: TOption[], inputValue: string) => TOption[])

getOptionLabel

getOptionLabel: (option: TOption) => string

Type declaration

    • (option: TOption): string
    • Parameters

      • option: TOption

      Returns string

Optional id

id: undefined | string

onSelect

onSelect: (selectedOption: TOption | null) => void

Type declaration

    • (selectedOption: TOption | null): void
    • Parameters

      • selectedOption: TOption | null

      Returns void

options

options: TOption[]

Optional placeholder

placeholder: undefined | string

value

value: TOption | null