Skip to content

TagInputSuggest.selectSuggestion method

TagInputSuggest › selectSuggestion

Puts the tag into the input, dispatches an input event, then calls the onSelect callback.

Signature:

selectSuggestion(suggestion: TagSuggestion, $event: KeyboardEvent | MouseEvent): void

Parameters:

ParameterTypeDescription
suggestionTagSuggestionThe tag.
$eventKeyboardEvent | MouseEvent

Returns: void