Hello, does anyone know how to resolve below probl...
# compose
t
Hello, does anyone know how to resolve below problem. While typing, converted words are disappeared. Keyboard soft: Super ATOK ULTIAS
Copy code
@Composable
fun SimpleFilledTextFieldSample() {
   var text by remember { mutableStateOf("Hello") }

   TextField(
      value = text,
      onValueChange = { text = it },
      label = { Text("Label") }
   )
}
e
use
TextFieldValue
instead of
String
which cannot hold composition state
Copy code
var text by remember { TextFieldValue("Hello") }
a
Looks exactly like this issue. Should have been fixed in the latest beta.
t
Copy code
TextFieldValue
↓error
Type 'TypeVariable(T)' has no method 'getValue(Nothing?, KProperty<*>)' and thus it cannot serve as a delegate
unfortunately, It does not work well. build.gradle
Copy code
compose_version = '1.3.0-beta01'
s
Seems like a bug. There was a relatively recent change related to cjk in some keyboards, i would try with latest beta (1.3. beta2) and file a ticket.
I would also try with another widely known keyboard. The reason is the bug might be about this specific keyboard & compose.