getOptionAsString

abstract external var getOptionAsString: (option: SelectOption<OptionValue>) -> String?(source)

A function used to convert the option label to a string. It's useful when labels are elements and need to be converted to plain text to enable navigation using character keys on a keyboard.