Updated on 2026-08-14
This commit is contained in:
parent
5b50e044cd
commit
bd4cfb134d
1 changed files with 6 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue