FieldContent

abstract fun FieldContent(textField: @Composable (onFocusChange: (focused: Boolean) -> Unit) -> Unit, selectedCountry: SelectedCountry?, openCountryPicker: () -> Unit, errorMessage: LbcTextSpec?)

Composable function to render the content of a phone field.

Parameters

textField

The composable function for rendering the text input field. It takes a lambda onFocusChange to notify focus changes.

selectedCountry

The currently selected country, or null if none is selected.

openCountryPicker

Lambda to open the country picker dialog.

errorMessage

Optional error message to display below the field.