Data Bindings - code input validation error

======== TEMPLATE BUG FORM ========

Wappler Version : 3.0.0 Beta 1
Operating System : Windows 10

Expected behavior

expressions entered via the UI should not appear as invalid when viewed in the code input tab

Actual behavior

valid expression are shown as invalid

How to reproduce

Enter a simple expression via the UI and click on the Code button.

This expression is correctly evaluated as true or false in Design view. It was entered via the UI:


When viewed as Code, it apparently has errors:


I have tried with several expressions, with the same result. (Apart from not working at the moment, I was pleased to see that error checking will be applied to expressions like this.)

In case it helps:

Errors are also indicated in code view -


I changed this to:
<span>{{(price &gt; 100)}}</span>
… and the error indicator disappeared. Editing the expression again, via the UI, the change is reverted.

this was fixed in Wappler 3.0 final

This topic was automatically closed after 24 hours. New replies are no longer allowed.