Anyone knows how to preserve new lines as input fr...
# compose-android
a
Anyone knows how to preserve new lines as input from a TextField composable?
a
iirc text field allows for multiline. check if you have set single line (or maxlines =1) or not
a
I've maxlines= 10
Nevermind. Figured it out.
r
a
It's not the TextField.
s
"Nvm figured it out, and if someone else has the same question in the future, fuck em"
😂 1
a
It's not that. It's unrelated to #compose-android so I don't want to go off topic.
s
Inside the thread, you can go as off topic as you'd like. Especially since you found your solution
a
Well, turns out it's just how Google Firestore displays the data in the console of firebase (without new lines, just spaces). I thought the TextField is doing this to the input, though it turns out the TextField respects all new lines and spaces and characters.
thank you color 4
h
TextField never gonna give you up, never gonna let you down.
👍🏻 1
🐕 2
👍 1