We are not sure if this is a 'bug' or a 'feature' but to us this is a bug...
Wappler is escaping the following text input, this is the form input on the page, standard form input:
[{"id":"introductionWidget","x":0,"y":0,"w":12,"h":2},{"id":"basic-blog-post-widget","x":0,"y":2,"w":6,"h":6},{"id":"cookie-policy-widget","x":6,"y":2,"w":6,"h":3},{"id":"blankWidgetExample","x":6,"y":5,"w":6,"h":3},{"id":"pageIntroductionWidget","x":0,"y":8,"w":12,"h":2}]
When saved to the database with an Insert Action it appears as (within the database and we have tried storing as json and longtext and other datatypes, varchar etc, still the same result?):
"[{\"id\":\"introductionWidget\",\"x\":0,\"y\":0,\"w\":12,\"h\":2},{\"id\":\"basic-blog-post-widget\",\"x\":0,\"y\":2,\"w\":6,\"h\":6},{\"id\":\"cookie-policy-widget\",\"x\":6,\"y\":2,\"w\":6,\"h\":3},{\"id\":\"blankWidgetExample\",\"x\":6,\"y\":5,\"w\":6,\"h\":3},{\"id\":\"pageIntroductionWidget\",\"x\":0,\"y\":8,\"w\":12,\"h\":2}]"
I'm confused as to why this is happening? I've worked around it but the input is escaped during save to the database there is nothing special happening here, just a straight save of an input, as a post input, Server Action pointed at the form for its inputs, imported to Server Connect all as normal, as soon as it is saved the above occurs?