Skip to content

//ui/dev.atick.core.ui.components/JetpackPasswordFiled

JetpackPasswordFiled

[androidJvm]\

@Composable

fun JetpackPasswordFiled(value: String, onValueChange: (String) -> Unit, label: @Composable() -> Unit, leadingIcon: @Composable() -> Unit, modifier: Modifier = Modifier, errorMessage: String? = null)

A Jetpack Compose password field with customizable appearance and optional error message display.

Parameters

androidJvm

value The current text value of the password field.
onValueChange The callback invoked when the text value changes.
label A composable function that represents the label of the password field.
leadingIcon A composable function that represents the leading icon of the password field.
modifier The modifier for this password field.
errorMessage The error message to display below the password field, if any.