Typing a ternary operation in the dynamic binding adds a " + " before the " ? "

Wappler Version : 5.0.0 (but happened in 4.x)
Operating System : Windows 10
Server Model: Node
Database Type: Postgres
Hosting Type: Docker / Linode

Expected behavior

In the client side dynamic bindings I will type this in the code view:

And it should translate to this in the code:

dmx-on:click="var_showWorkTags.setValue(var_showWorkTags.value==1?0:1)

Actual behavior

What actually happens is this:

dmx-on:click="var_showWorkTags.setValue(var_showWorkTags.value==1+?0:1)"

How to reproduce

This has been happening for a while, but i just edit it directly in the code…i though i should log it properly though.

It happens every time.

Simply manually type a ternary operation in the code section of data bindings and it should reproduce error.

Community Page
Last updated: