Apple
January 30, 2022, 6:06am
1
Wappler Version : 4.5.1
Operating System : MacOS
Server Model: NodeJS
Database Type: N/A
Hosting Type: Docker
Expected behavior
Doing a server-side Set Value to “hello\n”
"
Actual behavior
‘hello\n’ is saved as ‘hello’
How to reproduce
Set Value as screenshots
Context: Generating CSV file in-memory, through a Repeat iterating a data query and doing Set Value linesGlobal = linesGlobal + $value + “\n”
sid
January 30, 2022, 6:54am
2
From what I remember, last time I tried this, it did not work either.
Probably because the Wappler UI is reading it as new line and discarding it, instead of reading it as a string.
Don’t remember what I did though… As a solution.
Oh man, I have that same symptom! Maybe there is something to this getting old thing!
Apple
February 1, 2022, 5:24am
6
I ended up working around this by doing Set Value sep = {{’\n’}}
So, now I have a variable with the content “\n”
Teodor
February 17, 2022, 4:53pm
8
This has been fixed in Wappler 4.6
Teodor
Closed
February 19, 2022, 4:00pm
10
This topic was automatically closed after 47 hours. New replies are no longer allowed.