All Questions
Tagged with android-jetpack-compose textfield
133
questions
0
votes
1
answer
33
views
TextField keystrokes are not appearing when using a data class to hold the value and onValueChange parameters of the TextField
I'm trying to create multiple instances of the same TextField by iterating through them in a list rather than directly creating each instance. The problem is that none of the keystrokes are appearing ...
0
votes
1
answer
50
views
Why do focused colors not work with OutlinedTextField DecorationBox?
I'm trying to customize the appearance of an OutlinedTextField in Jetpack Compose to have cyan text color and a 1dp thickness border. Despite setting the appropriate parameters, the text field remains ...
0
votes
1
answer
212
views
Bottom sheet with textfield over lapping keyboard in jetpack compose android
When implementing bottom sheet with a text field and when the user is typing the keyboard will be visible.
In that time the keyboard is hiding the button below the text field.
I want button to be ...
0
votes
1
answer
32
views
OutlineTextField text not changed
i am a beginner developer in android dev, i have some problem with OutlineTextField, the case is I want to edit data that already exists in the OutlineTextField but the text that is obtained from the ...
0
votes
2
answers
83
views
OutlinedTextField in AlertDialog is not editable - Android Compose
I'm trying to create a simple AlertDialog with a single OutlinedTextField which takes some value and performs an action when confirm button is clicked. No matter what I try, it seems the text field ...
0
votes
1
answer
253
views
Android Compose TextField with underline on misspelled words
How I can create a TextField where if any word is misspelled it will create underline under the word or highlight for the user to go back if needed and click on it and the keyboard should show the ...
3
votes
2
answers
249
views
How do I clear undo/redo history in Jetpack Compose TextField (or BasicTextField)
I'm developing an desktop app in Compose.
Basically I have a text editor where I can open different text files. The issue is that TextField keeps it's undo/redo state internally (as far as I know). So ...
0
votes
0
answers
76
views
Android Compose TextField falls into infinite onValueChange loop when try to accept IME composition
I have a Compose password TextField, which I don't want the IME composition, which shows a visual underline. But when I try to accept the IME composition by passing composition = null, it falls into ...
0
votes
1
answer
260
views
TextField does not unfocus when keyboard is hidden - Material 3 Jetpack Compose
I'm facing a problem and I'm not sure if I'm doing something wrong. When I implement a Material3 TextField when you hide the keyboard manually the Textfield is not loosing the focus and you can't open ...
2
votes
4
answers
694
views
How to remove TextField bottom line in Jetpack compose
here is my code:
TextField(
value = text,
onValueChange = { onValueChanged(it) },
modifier = Modifier
.fillMaxWidth()
.height(100.dp)
....
0
votes
0
answers
267
views
How to filter input using the new BasicTextField2 InputTransformation & TextFieldBuffer
I'm creating a BasicTextField2 for entering an IBAN like DE02 1203 0000 0000 2020 51.
Let's assume i'm only targeting german (DE) IBANs and thus am not interested in anything else except the digits:
@...
2
votes
1
answer
626
views
Clicking on TextField while it has focus does not show keyboard in jetpack compose Android
I am creating an android application jetpack compose. I implemented a TextField like this :
fun NameViewer(nameState: MutableState<String>) {
Row(verticalAlignment = Alignment....
0
votes
2
answers
222
views
Jetpack Compose OutlinedTextView not opening keyboard after back press
I'm building an Android application with Jetpack Compose and the latest version (at the time) of material3 components.
implementation("androidx.compose.material3:material3:1.2.0-beta01")
...
0
votes
2
answers
348
views
Soft Keyboard not opening for second time once closed keyboard in Textfield compose
I am new to Compose. Faced issue on compose Textfield when I try to implement an UI which takes input from user. As soon as click Textfield soft Keyboard opened immediately on first time and able to ...
3
votes
0
answers
448
views
Ime action not being updated on TextField switch inside Jetpack Compose
I have multiple TextFields and with the ime action Next the user can jump until the last one which has the ime action Done. What I have noticed is that, even the cursor is inside the last TextField, ...