```I'm using OutlinedTextField as follows but not ...
# compose
s
Copy code
I'm using OutlinedTextField as follows but not sure why it crashes the app

@Composable
fun OutlinedTextFields() {
    val text = remember { mutableStateOf(TextFieldValue("Text")) }
    OutlinedTextField(
        modifier = Modifier.fillMaxWidth(),
        value = text.value,
        onValueChange = { text.value = it },
        label = { Text("Label") }
    )
}
s
What is the error?
s
Sorry, it's working fine. I was not using it correctly.