We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following example render a label and the textfield on iOS 17.5, but on iOS 18, the TextField takes over the entire line.
I have tried all the .listStyle options
import SwiftUI struct ContentView: View { var body: some View { List { LabeledContent { TextField ("placeholder", text: .constant ("")) } label: { Text ("Hello") } } .padding() } } #Preview { ContentView() }
Included screenshots show that iOS 17.5 correctly displays the labels, while on iOS 18, only the textfield is rendered.
iOS 17.5, works:
iOS 18.0, Beta 2 and Beta 4:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
The following example render a label and the textfield on iOS 17.5, but on iOS 18, the TextField takes over the entire line.
I have tried all the .listStyle options
Included screenshots show that iOS 17.5 correctly displays the labels, while on iOS 18, only the textfield is rendered.
Files
iOS 17.5, works:
iOS 18.0, Beta 2 and Beta 4:
The text was updated successfully, but these errors were encountered: