displayStringForOption property

AutocompleteOptionToString<T> displayStringForOption

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().


final AutocompleteOptionToString<T> displayStringForOption;