Dropdown

data class Dropdown<T>(val label: String, val items: List<T>, val mapper: @Composable (T) -> String, val selected: MutableState<T>, val subLabel: String? = null, val help: FormHelp? = null, val visible: Boolean = true, val enabled: Boolean = true) : FormItem

Constructors

Link copied to clipboard
constructor(label: String, items: List<T>, mapper: @Composable (T) -> String, selected: MutableState<T>, subLabel: String? = null, help: FormHelp? = null, visible: Boolean = true, enabled: Boolean = true)

Properties

Link copied to clipboard
open override val enabled: Boolean
Link copied to clipboard
open override val help: FormHelp?
Link copied to clipboard
val items: List<T>
Link copied to clipboard
open override val label: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val subLabel: String?
Link copied to clipboard
open override val visible: Boolean

Functions

Link copied to clipboard
open override fun Content(config: FormConfig, parentIsEnabled: Boolean)