on Text Change
This is for situations where text input is not handled through a standard Android UI Text component. This includes: Jetpack Compose React Native Onscreen Keyboards Where input is handled through a standard text field, this should not be used. 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