MultiSelectDropdownField
fun <T : Any> MultiSelectDropdownField(modifier: Modifier = Modifier, label: UiText = UiText.empty, selectedItems: List<T> = emptyList(), availableItems: List<T> = emptyList(), onSelectionChanged: (List<T>) -> Unit = {}, displayDelegate: (T) -> UiText = { t -> t.toString().asUiText() })(source)
Renders the MultiSelectDropdownField UI for the SDAI presentation layer.
Author
Dmitriy Moroz
Parameters
modifier
Compose modifier applied to the rendered UI.
label
label value consumed by the API.
selectedItems
selected items rendered or processed by the component.
availableItems
available items rendered or processed by the component.
onSelectionChanged
callback invoked by the component.
displayDelegate
display delegate value consumed by the API.