displayStringForOption property

AutocompleteOptionToString<T> displayStringForOption
final

Returns the string to display in the field when the option is selected.

This is useful when using a custom T type and the string to display is different than the string to search by.

If not provided, will use option.toString().

Implementation

final AutocompleteOptionToString<T> displayStringForOption;