KPInputPhoneNumberField
Composable function representing a phone number input field with customizable appearance and behavior tailored for the Komposto theme.
Parameters
The current value of the country code input field.
The current value of the phone number input field.
Callback invoked when the country code input field is clicked.
Callback invoked when the value of the phone number input field changes.
Optional Modifier that can be applied to the input field.
Indicates whether the input field is enabled for user interaction.
Optional label for the country code input field.
Optional label for the phone number input field.
Optional error message displayed below the input fields if there is an error. If it's null no error will be displayed.
VisualTransformation applied to the phone number input field.
KeyboardActions defining keyboard actions for the phone number input field. If you don't provide one it will clear keyboard after any action.
MutableInteractionSource representing the source of user interactions.
Shape of the only phone number input field.
Maximum length allowed for the phone number.