Skip to main content
0 votes
1 answer
93 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,591
1 vote
1 answer
141 views

I want to let the user copy a file from the device file manager and then paste it into a TextField in my Flutter app. When the user clicks "Paste" in the text field, I want to get the path ...
Mohammad Alamoudi's user avatar
-1 votes
2 answers
161 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
0 votes
1 answer
75 views

I have a screen in my Android app using Jetpack Compose. The issue is: User fills in the text fields and leaves the app (app goes to background) When user returns to the app, all TextFields completely ...
abbasalim's user avatar
  • 3,362
-1 votes
3 answers
101 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
64 views

Problem: I'm building a login screen for an Android TV app. The layout is a two-column panel (left: QR, right: email/password form). When the on-screen keyboard appears, the email field stays visible ...
Player91's user avatar
  • 153
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
1 vote
2 answers
98 views

I have a SwiftUI View where I can edit financial transaction information. The data is stored in SwiftData. If I enter a TextField element and start typing, it is super laggy and there are hangs of 1-2 ...
Max B's user avatar
  • 400
2 votes
1 answer
125 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
1 vote
1 answer
99 views

I'm trying to add a copy button to the clipboard for input fields. It is required to add the element specifically to the component suffix, and not through the use of horizontal layout (if possible). ...
Egor Vasilyev's user avatar
0 votes
1 answer
62 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
0 answers
116 views

I'm trying to add autocompletion to a TextField that acts as a data column in a TableView. In particular, I want to use an Array of String values as suggestions, but not require that the value of the ...
Robert Fuhrer's user avatar
0 votes
2 answers
134 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
1 vote
1 answer
115 views

How do I force uppercase characters while typing in a TextField on macOS? I started with this snippet from Paul Hudson: struct ContentView: View { @State private var name = "Paul" ...
koen's user avatar
  • 5,862
0 votes
0 answers
57 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

15 30 50 per page
1
2 3 4 5
346