Skip to content
New issue

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

FB16383539: SwiftUI TextFieldLink should accept initial text #604

Open
sindresorhus opened this issue Jan 22, 2025 · 0 comments
Open

FB16383539: SwiftUI TextFieldLink should accept initial text #604

sindresorhus opened this issue Jan 22, 2025 · 0 comments

Comments

@sindresorhus
Copy link
Member

  • Date: 2025-01-22
  • Resolution: Open
  • Area: SwiftUI
  • OS: watchOS 11.2
  • Type: Suggestion

Description

In my watchOS app, I want to have an edit button in the toolbar to let the user edit some text. The problem is that TextFieldLink does not accept any initial text and TextField always displays a preview of the text. I need the look of TextFieldLink (just a button) and the behavior of TextField (initial text).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant