Is there a way to trigger the VisualTransformation upon focus just prior to user typing?
var text by remember { mutableStateOf("") }
OutlinedTextField(
modifier = modifier,
value = text,
onValueChange = { input ->
text = input
},
label = {
Text("Input Here")
},
placeholder = {
Text("$")
}
)
In this case, I'm looking for a way to put the cursor in front or after the $ dollar sign upon focus
Something like this
