The lineLimit modifier on the TextEdit does not work on iPad and iPad simulator (iPadOS 14).
Thank you.TextEditor(text: $text).lineLimit(1)
Thank you.TextEditor(text: $text).lineLimit(1)