MenuPicker
fun <T> MenuPicker(items: List<T>, selected: T, onSelect: (T) -> Unit, label: String, itemLabel: (T) -> String, modifier: Modifier = Modifier, enabled: Boolean = true)
A labeled dropdown for picking one of items, shown as a read-only outlined field that opens a menu. Use it in forms where a segmented control would not fit (providers, languages, methods).
itemLabel supplies each item's visible text; selected does not have to be in items (for example a value that is no longer offered), and is shown with the same label. Whether the menu is open is internal UI state; disabling the picker closes the menu. The mouse cursor indicates a clickable picker rather than editable text.