Skip to main content

All 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 ...
Bob Rasner's user avatar
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 ...
Amirhossein's user avatar
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 ...
Anusha C's user avatar
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 ...
Dzy's user avatar
  • 175
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 ...
moonlightcheese's user avatar
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 ...
K01's user avatar
  • 1
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 ...
xinaiz's user avatar
  • 7,728
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 ...
Chaofan Zhang's user avatar
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 ...
Adria Fernandez's user avatar
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) ....
Dodge_X's user avatar
  • 79
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: @...
m.reiter's user avatar
  • 2,315
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....
S.Baner's user avatar
  • 91
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") ...
Iscle's user avatar
  • 789
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 ...
ananth's user avatar
  • 11
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, ...
rimes's user avatar
  • 891

15 30 50 per page
1
2 3 4 5
9