API Properties

@Input() searchFunction: (term: string) => Promise<SearchResultItemType[]>
@Input() onSelect: (id: number) => void
@Input() label: string

The label string to give the input

@Input() placeholder: string

The placeholder string for the input

@Input() tooltipText: string

The text to show in the tooltip

@Input() debounceTime: number = 200

Minimum amount of delay (in ms) between calls to the searchFunction. Default: 200

@Input() searchTriggerThreshold: number = 1

Minimum number of characters that must be typed in the input before searchFunction can be triggered. Default: 1

@Input() populateOnSelect: boolean = true

Whether to populate the text input when an item from autocomplete is selected. Default: true

@Input() hasClearTextButton: boolean = false

Shows a clear text button to the right of the search input. Default: false

@Input() disabled: boolean

Is type-ahead-search input disabled ?

Methods

handleClearButton(): void
  • Returns

    void