How to access the value of a TextField’s prompt? #258
-
Is there a way to access the Such as with code like the following: struct MyView: View {
@Binding var myText: String = ""
var body: some View {
TextField("My Label", text: $myText, prompt: "My Prompt")
}
} |
Beta Was this translation helpful? Give feedback.
Answered by
nalexn
Sep 24, 2023
Replies: 2 comments 1 reply
-
Nope, but that should be straightforward to add. Could you convert that in a ticket instead please? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Closing in favor of the issue #259 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
grantneufeld
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Closing in favor of the issue #259