StringSelectDropdown

fun StringSelectDropdown(label: String, value: String, options: List<Pair<String, String>>, onSelect: (String) -> Unit, modifier: Modifier = Modifier, expanded: Boolean? = null, onExpandedChange: (Boolean) -> Unit? = null)

Exposed dropdown for selecting one of several string options.

Parameters

value

Currently displayed value.

options

List of (id, title) pairs; id is passed to onSelect.