Updated on 2026-08-14

This commit is contained in:
Tangem 2024-04-25 19:54:08 +05:00
parent 5b50e044cd
commit bd4cfb134d

View file

@ -45,7 +45,12 @@ fun SimpleTextField(
) {
val proxyValue by remember(value) { derivedStateOf { value } }
var textFieldValueState by remember {
mutableStateOf(TextFieldValue(text = value))
mutableStateOf(
TextFieldValue(
text = value,
selection = TextRange(value.length, value.length),
),
)
}
val focusRequester = remember { FocusRequester.Default }
val customTextSelectionColors = TextSelectionColors(