How can I convert a string into an array and then, use it in a repeat function?
My text area will send for example this:
A
B
C
D
On the output I see:
What I need is, for each line, a repeat inserts a record on the db.
Tried {{$_POST.eachline.split('\n')}} {{$_POST.eachline.split('\r')}} {{$_POST.eachline.split('\r\n')}}
All of them without success.
I don't think the solution will break, there is nothing wrong with the formatter and it is more an issue with the Wappler UI on how it handles escape characters. The text input in Wappler just accepts text and will correctly escape it for you, so entering an actual new line will result in \n while typing \n will be escaped as \\n. @george should have a look at it on how we could improve the input from UI.