InvalidOption

class InvalidOption<T>(val label: String, val disabled: String, var hint: String? = null, val keyOptions: Map<String, KeyOption>? = null, val onHover: suspend SelectOption<out T>.() -> Unit? = null) : SelectOption<T>

Constructors

Link copied to clipboard
constructor(label: String, disabled: String, hint: String? = null, keyOptions: Map<String, KeyOption>? = null, onHover: suspend SelectOption<out T>.() -> Unit? = null)

Properties

Link copied to clipboard
open override val data: Nothing

The data value of this option

Link copied to clipboard
open override val disabled: String

Whether this option is disabled

Link copied to clipboard
open override var hint: String?

A hint message shown when selected

Link copied to clipboard
open override val keyOptions: Map<String, KeyOption>?

Key options when selected

Link copied to clipboard
open override val label: String

The display label of this option

Link copied to clipboard
open override val onHover: suspend SelectOption<out T>.() -> Unit?

Event triggered when selected

Functions

Link copied to clipboard
operator fun <T> SelectOption<T>.component1(): String
Link copied to clipboard
operator fun <T> SelectOption<T>.component2(): String?
Link copied to clipboard
operator fun <T> SelectOption<T>.component3(): String?