textfield Questions

1

If I pass a binding to the TextField then whenever you edit the centre of the text the cursor will jump to the end of the line after each character insert. This only occurs on an actual device (iPa...
Disjunction asked 29/8, 2021 at 15:39

2

I am trying to learn how to use the TextField properly with the MaskTextInputFormatter. I am also using a controller to set a initial value to it. But when the user presses the backspace on it all ...
Cords asked 30/4, 2021 at 4:22

24

Solved

How to customise TextField's width and height?
Dismiss asked 17/5, 2018 at 21:8

6

Solved

I have designed some TextField in a form by SceneBuilder, when I run the code, one of the TextFields has been clicked by default, I want when I run the code, none of the TextFields get selected by ...
Kristiankristiansand asked 14/3, 2015 at 16:20

13

Solved

This is what I'm trying to make: In the Flutter docs for Text Fields (https://flutter.io/text-input/) it says you can remove the underline by passing null to the decoration. However, that also g...
Kosciusko asked 1/3, 2018 at 0:7

24

Solved

I have a Column of Expanded widgets like this: return new Container( child: new Column( crossAxisAlignment: CrossAxisAlignment.stretch, children: <Widget>[ new Expanded( flex: 1, chil...
Planish asked 3/10, 2017 at 18:37

11

I tried finding in a lot of resources but unfortunately i could not find a way to align the text vertically centre in a textfield. I also tried using suffixIcon instead of suffix but still not luck...
Gstring asked 7/7, 2019 at 19:1

3

Solved

so I'm trying to make a search bar that doesn't run the code that displays the results until the user stops typing for 2 seconds (AKA it should reset a sort of timer when the user enters a new char...
Laure asked 13/2, 2021 at 14:55

1

I am trying to develop a view where the user must input his name and surname. these two textfields have a FocusState. Everything is working well less a little bounce when the focus changes his goal...
Pedalfer asked 25/2, 2023 at 10:39

16

I am new in Flutter. I am looking for TextField value to always uppercase but I did not find any resource on that. Another issue is the TextField onChanged event debounce implementation. When I typ...
Woodchuck asked 12/3, 2018 at 15:29

5

I have a read only textfield that shows a string. The string starts from the left side of textfield as it should. I was wondering if there is a way in Vuetify to align the string to the center of t...
Ritornello asked 10/10, 2018 at 14:7

5

Solved

I was trying to build a border for my text field like: return TextField( ... border: OutlineInputBorder( borderSide: BorderSide( color: Colors.red, width: 5.0), ) ) ) But it always retur...
Semicentennial asked 11/1, 2019 at 9:21

3

Solved

While exploring TextField in a Jetpack Compose, I came across a case where I have to modify input typed in the field. For example, adding a comma after entering 3 characters. This is how I made it....

14

Solved

I'm trying to develop a TextField that update the data on a Firestore database when they change. It seems to work but I need to prevent the onChange event to fire multiple times. In JS I would use ...
Momentarily asked 10/8, 2018 at 17:35

2

Solved

I have setup a normal BasicTextField in Jetpack Compose (1.4.2). If i want to paste a text copied earlier the field appears in a weird spot (top left corner). How can i fix this ? Update: Provided ...
Lebel asked 21/4, 2023 at 12:0

7

Solved

I am new to vuetify. I need rtl v-text-field with top-right caption on it. How is that possible? I could not do that in inspector. This what i have for a now: Any help would be appreciated
Plafker asked 8/11, 2017 at 15:48

5

Solved

I have a TextField like this: I want the hint and the text to be aligned at the top, not in the center. I tried textAlign: TextAlign.start but that is just for the horizontal alignment. TextFi...
Rufous asked 5/1, 2020 at 13:34

3

Solved

I'm experimenting with Flutter development on Windows. I have a simple test app with an InputField. I would like the first keyboard entry to be a capital letter but can't see a way of achieving tha...
Vesicant asked 12/3, 2017 at 12:29

5

Solved

I am trying to write a date input control which accepts a date like 23/12/1997. What I would like it to do is automatically insert the / characters for the user. So as they type in 23 the listener ...
Whereas asked 19/6, 2020 at 10:2

36

How to hide keyboard using SwiftUI for below cases? Case 1 I have TextField and I need to hide the keyboard when the user clicks the return button. Case 2 I have TextField and I need to hide the ke...
Nicotinism asked 7/6, 2019 at 9:13

20

I'd like to supply an initial value to a text field and redraw it with an empty value to clear the text. What's the best approach to do that with Flutter's APIs?
Hyperthyroidism asked 4/4, 2017 at 17:52

7

Solved

I'm using a modal to add names to a list. When the modal is shown, I want to focus the TextField automatically, like this: I've not found any suitable solutions yet. Is there anything implement...
Judejudea asked 9/10, 2019 at 19:29

9

I have text file that was encoded with UTF8 (for language specific characters). I need to use RandomAccessFile to seek specific position and read from. I want read line-by-line. String str = m...
Bingen asked 1/4, 2012 at 13:52

7

Solved

I'm a bit confused how to change the hint color of the textfield. Someone can guide me how to do it.Thanks child: TextField( style: TextStyle(fontSize: 20), decoration: InputDecoration( hintTex...
Abettor asked 8/12, 2018 at 2:57

4

Solved

I have a Material UI TextField as an input and I need to force the entered text as uppercase. I have tried using textTransform: "uppercase" as part of the style attribute but this does no...
Purloin asked 11/1, 2021 at 22:43

© 2022 - 2024 — McMap. All rights reserved.