title: Jetpack Compose maxlines on textField is not working
body: <p>I'm making a todoapp and when im writing the todo i put to only have 1 line, but when i click Enter it creates a new lines, is there any way to fix it?</p>
  <pre><code>@Composable
  fun TextFieldDemo() {
          Column(
              Modifier
                  .padding(50.dp, 600.dp, 0.dp, 0.dp)
                  .fillMaxHeight()) {
              val textState = remember { mutableStateOf(TextFieldValue()) }
              TextField(
                  value = textState.value,
                  onValueChange = { textState.value = it },
                  label = {Text(text = &quot;What you need Todo?&quot;)},
                  singleLine = true //apenas uma linha de texto , podendo usar-se tambem singleLine = true
  
              )
  
          }
      }
  </code></pre>