Quotes being added to SC bindings in runJS

Wappler Version : 2.8.4
Operating System : Mac Catalina 10.15.4

Expected behavior

What do you think should happen?

When adding an argument using a data binding, it is not treated as a binding but as a string

Actual behavior

What actually happens?

The binding is added within backticks but also encapsulated with single quotes meaning it is treated as a string
e.g.

How to reproduce

  • Detail a step by step guide to reproduce the issue
  • A screenshot or short video indicating the problem
  • A copy of your code would help. Include: JS, HTML.
  • Test your steps on a clean page to see if you still have an issue

Add a runJS step to a flow and include a data binding as an argument

1 Like

Hi @George,
Has there been any progress on this? Every time I modify flows with arguments I have to manually go into the editor and overwrite the changes Wappler has incorrectly added before I can even open the flow dialog again; it’s pretty frustrating. There has been two version releases since and I was hoping it would be fixed in one of them. (just tested on 2.9.1 and still problematic)