I want to create notes per DB record, so these notes are stored in a single field. Date and time is added to the beginning of each submission. This is a mock-up of what I want to end up with…
So which part is not working exactly?
"It doesn't work" is never a good explanation an it's never helpful for us, which means you won't get a solution fast ..
I apologise for failing to describe the issue properly.
When I add the HTML tag '<br>' for the first time in the Update Server Action, saving it and going to the page in Chrome, adding a note and submitting it, I get the desired result as you can see in this screenshot from phpMyAdmin, includes the '<br>'
And it displays correctly in the browser
I go back into the Update Server Action and the HTML tags have disappeared
Can you see the tags in the server action JSON after saving?
It could be that when re-opening, it’s just not showing the HTML tags, but its there in code?
So it’s only the UI where you are not seeing your html tags? Are they properly inserted in the database and are they then properly working on the page?
And as a side note, I am seeing strange entries in the Action Steps Global $_POST, these seem to be being added automatically when I have been playing with different options.
From what I understand, since Wappler is Chromium based, HTML stuff sometimes gets interpreted literally in the UI.
For eg: Save some HTML in set value action step, and you can see it being ‘rendered’ in the properties panel.
Although that does not hamper the functioning.
A workaround for sanity, just in case this cannot be fixed / until its fixed:
Create variable (set value) for <br/><i>, and use that in your db query UI like {{htmlBR}}.
You will still not see actual value in the set value, but you will know by name what it contains.
Note on the side note: Have experienced this quite commonly since the beginning I think. Maybe this requires a separate bug post.