getOptionLabel

abstract var getOptionLabel: (option: Value) -> String?(source)

Used to determine the string value for a given option. It's used to fill the input (and the list box options if renderOption is not provided).

If used in free solo mode, it must accept both the type of the options and a string.

Parameters

{Value} option