DropdownTextField

private fun <T : Any> DropdownTextField(modifier: Modifier = Modifier, loading: Boolean = false, label: String, value: T?, items: List<T> = emptyList(), onItemSelected: (T) -> Unit = {}, displayDelegate: (T) -> String = { it.toString() })(source)

Renders the DropdownTextField UI for the SDAI presentation layer.

Author

Dmitriy Moroz

Parameters

modifier

Compose modifier applied to the rendered UI.

loading

loading value consumed by the API.

label

label value consumed by the API.

value

value value consumed by the API.

items

items value consumed by the API.

onItemSelected

callback invoked by the component.

displayDelegate

display delegate value consumed by the API.