SelectorField
fun SelectorField(country: Country?, onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, locale: String? = null, label: String? = null, placeholder: String? = null, interactionSource: MutableInteractionSource? = null)
Default clickable field showing flag, localized name, and a dropdown affordance.
Parameters
country
Selected country, or null if none
onClick
Callback invoked when the field is clicked
modifier
Modifier applied to the text field
enabled
Whether the field is enabled
locale
BCP 47 language tag, or null for system default
label
Optional text field label
placeholder
Optional text field placeholder
interactionSource
Optional interaction source to observe interaction