Flow Editor on Dynamic Event Misformatting Code on Save

Wappler Version : 4.3.0
Operating System : Windows 11
Server Model: NodeJS
Database Type: MySql
Hosting Type: Docker

Expected behavior

When saving a flow on dynamic event with a ‘Run Javascript’ step, the resulting code should be formatted correctly without errors.

Actual behavior

When saving the flow, there is an errant apostrophe at the beginning of the arguments array, as you can see below. Also, and I’m not sure if this used to happen in the past, I certainly don’t remember it, but the date mask in formatDate() has it’s quotes escaped now too.

image

How to reproduce

Add a dynamic event on an element, add a ‘Run Javascript’ step, and save the flow.

1 Like

this was fixed a while ago