Wappler Version : 3.9.2
Operating System : Windows 10
Server Model: ASP .NET
Database Type: MSSQL
Expected behavior
Setting value in a set value step as below should save this value as is and also the server action should parse all the bindings.
<div style="border:1px solid #dddddd;border-radius: 10px;padding:8px; width:100%; text-align:center;">
Selected Date Range: {{$_GET.filter_date_start.formatDate('dd-MM-yyyy')}} to {{$_GET.filter_date_end.formatDate('dd-MM-yyyy')}}
<br>
Count: {{rpt_tr_sp_class.count()}}
</div>
Actual behavior
Response is 500. Without any error description. Have debug in SA on and also custom errors mode set to off.
If I just disable the step or remove the formatDate
formatter, it returns 200 correctly.
Also, as soon as I save and then click edit again, the DIV in HTML is gone and the value is formatter in a different way:
Setting value
On clicking save in picker, HTML gets rendered as usual
On clicking edit again, the surrounding DIV is gone and the string is changed to be treated as string concatenated inside binding.
How to reproduce
Just create a set value and set the HTML as shared above.
I was on 3.9.1 when I saw the formatter issue. So I updated to 3.9.2. But now, not only the formatter is not working, the HTML is getting removed from set value.