Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
87 views

If I place a Picker or a Toggle in a SwiftUI Form, the associated label is always visible: But for a TextField, the label is only shown while the field is empty: And as soon as I start to fill in ...
Peter M's user avatar
  • 7,583
-1 votes
2 answers
154 views

The purpose of my program is to do time-consuming file operations that are executed inside a for loop. That's why I would like the program to show the current operation through a text field. I don't ...
ZioCrick's user avatar
-1 votes
3 answers
91 views

I'm facing the issue that SwiftUI's TextField with a number format seems to ignore the locale set by the environment modifier. struct MyView: View { @State var number: Decimal = 1.1 var ...
Lukas Würzburger's user avatar
0 votes
0 answers
97 views

I have a simple sheet: .sheet(isPresented: $newContactSheetTrigger) { NewContactSheet() .presentationDetents([.large]) } with the following code: import SwiftUI import SwiftData import ...
Alan's user avatar
  • 41
2 votes
1 answer
122 views

I’m trying to build a custom text field that automatically resizes its height based on the content (so if I type multiple lines, the field grows vertically). Here is my current code: import SwiftUI ...
Pablo's user avatar
  • 95
0 votes
1 answer
59 views

Below code generates UI as follows, here which ever container is selected it gets highlighted with border and its descendants are traversable on tapping tab, other container's children does not get ...
Sumit's user avatar
  • 37
0 votes
2 answers
122 views

When I was making a SwiftUI app for macos, I wanted to have a textfield that used both the RoundedBorderTextFieldStyle and be slightly larger than regular. I specifically wanted the visual effect that ...
itn354's user avatar
  • 3
0 votes
0 answers
56 views

Just noticed a bug in tvOS 18+: If you present a modal (.sheet) that contains a TextField, click into the text field to select your text from keyboard, then press the Back button, the TextField ...
nicolas Lrr's user avatar
0 votes
2 answers
221 views

I have apps that had no issue on Firefox and Safari with Flutter versions 3.22 and before, but in most recent Flutter versions textfields are not working on these 2 browsers, or only working when ...
F. F.'s user avatar
  • 55
0 votes
1 answer
65 views

I would like to show a TextField inside a Form in an inspector. Here is my code, and I am using a Section since there will be many more controls. struct TestView: View { @State private var ...
koen's user avatar
  • 5,862
0 votes
0 answers
63 views

I'm trying to get a TextField in Flet to which text is added to update and display the last entry. So far, I've only managed to do this if I make the entry appear on the first line, but if I make it ...
Ierk's user avatar
  • 1
1 vote
1 answer
34 views

In a TextField object in LibGDX I need to validate input characters to transform lowercase to uppercase, and avoid numbers and special chars. How can this be done? Thank you very much.
Patitud's user avatar
  • 13
1 vote
0 answers
33 views

I have a Flutter app compiled for Linux, running on a Raspberry Pi. The device has a USB-connected keyboard (used as a barcode scanner) that inputs directly into a TextField. The app runs in ...
Theuno de Bruin's user avatar
0 votes
2 answers
95 views

I need a text field that is resizing to hug its contents on macOS. Problem is, that text of TextField is jumping around when edited in a setup with alignment .leading (either VStack or .frame). I also ...
dandand's user avatar
  • 13
0 votes
0 answers
29 views

I have an app that, on session timeout, allows the user to open a popup with a form to sign back in again. For the purposes of this question, the app requires MFA. The test below is with Google Chrome ...
WBT's user avatar
  • 2,562
0 votes
1 answer
55 views

I'm working on a form in React using Material UI (MUI) and react-hook-form, and I want to create a reusable TextField component that: Works with react-hook-form using the Controller. Supports ...
Noman Jutt's user avatar
0 votes
1 answer
46 views

I work with linguistics software, and it's important for me to be able to normalize (usually with NFC or NFD) all text inputs from a user session. Is there a simple way to force all Material UI <...
D. Ror.'s user avatar
  • 101
-1 votes
1 answer
36 views

here you find an example of a resizable MUI Textfield. The problem is when i reach the Textfield bottom the Textfield border is moving upwards instead of displaying a scrollbar withhin the textfield. ...
mn3's user avatar
  • 127
0 votes
0 answers
78 views

I'm writing a Flutter app and I have a problem with the TextField widget. On tap in the TextField a strange toolbar appears instead of the keyboard. In addition something is injected into the widget ...
Ilia Philipov's user avatar
1 vote
1 answer
42 views

On Page Load, the saved credentials are auto filled and they are overlaping with the placeholder of mui textfield component How to solve this I used useEffect for triggering click event on page render ...
Athul Krishnan's user avatar
0 votes
1 answer
59 views

I've been struggling with this for months. I have a TextField that appears as the first child of a Row in my Android app. The TextField's text appears outside of the borders. Additionally, the bottom ...
Danny Ellis Jr.'s user avatar
0 votes
1 answer
58 views

TextField always get empty when I try to write in it. My ViewModel: class MyVM: ViewModel() { var name by mutableStateOf("") fun onNameChange(newString: String) { name = ...
Ajay Jaiswar's user avatar
0 votes
2 answers
67 views

I'm using TextField in the bottom of the screen, the TextField is in a Stack widget, as you can see in the screenshot below, the device keyboard hide the TextField bubble: In WhatsApp for example you ...
J. brow's user avatar
  • 27
1 vote
2 answers
90 views

I need to display currency right after value: Currently it's achieved by overriding buildTextSpan, but it causes range error when selection includes the trailing text: suffixText of InputDecoration ...
Darkhan's user avatar
  • 3,265
0 votes
1 answer
35 views

Two detail sheets use the same function to create a TextField widget with a DateTimePicker from an icon button. In one sheet, it displays the selected datetime into the TextField; the other does not. ...
Richard Haven's user avatar

1
2 3 4 5
104