FormMultiDropdown
data class FormMultiDropdown(val label: String, val items: List<String>, val selected: List<String>, val onSelectionChange: (List<String>) -> Unit, val sortSelectionByItems: Boolean = true, val formatter: @Composable (selected: List<String>) -> String = FormDefaults.multiDropdownFormatter, val subLabel: String? = null, val help: FormHelp? = null, val visible: Boolean = true, val enabled: Boolean = true) : FormItem.Labeled
Constructors
Link copied to clipboard
constructor(label: String, items: List<String>, selected: List<String>, onSelectionChange: (List<String>) -> Unit, sortSelectionByItems: Boolean = true, formatter: @Composable (selected: List<String>) -> String = FormDefaults.multiDropdownFormatter, subLabel: String? = null, help: FormHelp? = null, visible: Boolean = true, enabled: Boolean = true)
constructor(label: String, items: List<String>, selected: MutableState<List<String>>, sortSelectionByItems: Boolean = true, formatter: @Composable (selected: List<String>) -> String = FormDefaults.multiDropdownFormatter, subLabel: String? = null, help: FormHelp? = null, visible: Boolean = true, enabled: Boolean = true)