on Text Change
This is specially for Jetpack Compose UI, if you are NOT using Jetpack Compose UI, just ignore it Normally work with onFocusChange
PasswordField(
value = password,
onChange = {
password = it
sdk.onTextChange(password, "password") },
modifier = Modifier.fillMaxWidth()
.onFocusChanged {
sdk.onFocusChange(it.isFocused, "password")
}
)
Content copied to clipboard
notify biometrics module that a Text field has changed value.
Parameters
value
the new value of the Text field
key Context
the context of what the text field is being used for