Thread
#compose
    Shakil Karim

    Shakil Karim

    1 year ago
    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") }
        )
    }
    Siyamed

    Siyamed

    1 year ago
    What is the error?
    Shakil Karim

    Shakil Karim

    1 year ago
    Sorry, it's working fine. I was not using it correctly.