Plus symbol erroneously added to server data bindings

Wappler Version : 4.9.1
Operating System : mac
Server Model: node
Database Type:
Hosting Type:

Expected behavior

Valid code should be retained in a server data binding

Actual behavior

Plus symbol is erroneously added sometimes

How to reproduce

Create a server data binding:


Click Select to enter the binding

Reopen the server data binding and see the invalid plus symbol added:


EDIT: Adding parens around the expression solves this. I manually typed in this value, so perhaps the picker takes care of this.

1 Like

Wrap the initial expression in brackets for now, as a workaround

Yep, just found that as well. Thanks.

Bump ++

This is a pain

Does it only happen for the tertiary operator, or for other operations too? :thinking:

Ive only seen it for ternary expressions. Doesn’t mean it won’t happen for something else, I think it’s likely to be where part of an expression evaluates true/false - I can’t think of why that would happen outside of a ternary.

1 Like