Luis Daivid
08/03/2022, 5:41 AMSearch
, and there is B TextField whose ime is Next
. If you click A, ime is displayed as Search, but if you click B while the keyboard is shown, it is still Search
ime.
Is this Compose bug? or There any way to solve it?Colton Idle
08/03/2022, 12:38 PMLuis Daivid
08/03/2022, 1:58 PMvar myValue by remember { mutableStateOf("") }
TextField(
value = myValue,
onValueChange = { myValue = it },
keyboardOptions = KeyboardOptions(imeAction = ImeAction.Search))
TextField(
value = myValue,
onValueChange = { myValue = it },
keyboardOptions = KeyboardOptions(imeAction = ImeAction.Next))