5,179 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
2
answers
58
views
entered text to display in listview.builder
I am new to flutter and coding. l am trying to take entered text using UI and display this to a listviewbuilder on different screen. most examples involve hard coded items. can you please help me , ...
0
votes
1
answer
104
views
Is there a way to get a multiline TextField to size to fit so I can put a button directly next to it?
In my app, I have a TextField that a user can enter multiple lines of text into. I'd like to be able to place a Button right next to the TextField, but am unable to do this because SwiftUI will force ...
1
vote
1
answer
107
views
TextField not showing digits & punctuation when system language is Arabic (iOS 26.1)
I’m seeing a strange behavior in iOS 26.1 with a plain SwiftUI TextField.
When the device system language is set to Arabic, a focused TextField will not display digits or special characters while ...
0
votes
1
answer
116
views
Visibility of TextField label compared to Picker or Toggle in SwiftUI
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 ...
1
vote
1
answer
148
views
How to paste a copied file into a TextField and get the file path?
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 ...
-1
votes
2
answers
162
views
Updating a JTextField from the inside of a Java for loop
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 ...
0
votes
1
answer
80
views
TextFields Disappear After App Resume from Background Until Keyboard Opens [closed]
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 ...
-1
votes
3
answers
106
views
SwiftUI TextField with number format ignores environment locale
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 ...
0
votes
0
answers
69
views
Flutter (Android TV) — soft keyboard overlap/hides TextFormField
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 ...
0
votes
0
answers
98
views
NavigationStack causes microhang when loading sheet
I have a simple sheet:
.sheet(isPresented: $newContactSheetTrigger) {
NewContactSheet()
.presentationDetents([.large])
}
with the following code:
import SwiftUI
import SwiftData
import ...
1
vote
2
answers
104
views
SwiftUI TextField input is super laggy for SwiftData object
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 ...
2
votes
1
answer
131
views
How to create a custom TextField that expands vertically with its content?
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
...
1
vote
1
answer
104
views
Vaadin 24 visible suffix component when TextField/TextArea disabled
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).
...
0
votes
1
answer
65
views
Focus traversal on TextField not working as expected in Flutter
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 ...
0
votes
0
answers
120
views
Autocompleting TextField inside a TableView?
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 ...