1 Reply
      Latest reply on Sep 12, 2019 6:34 AM by jlilest002
      raffjones Level 1 Level 1 (0 points)

        I've been waiting patiently beta by beta for multiline support in the TextField view, to no avail. And I just installed the GM Seed to see it's still not there.

         

        I have a UITextField wrapper working as UIViewRepresentable but it seems a ludicrous workaround for such a basic feature.

         

        I'm trying this:

         

        @State private var text: String = ""
        
        var body: some View {
          TextField("Just a test", $text)
              .lineLimit(nil)
              .multilineTextAlignment(.leading)
        }
        
        

        But yet again, the text field just scrolls along on one line and does not wrap when you hit the end of the line. Explicitly setting the frame does not work either.

         

        Am I missing something really simple here, or is this still not supported?