Invalid flow syntax when using picker

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

Expected behavior

When selecting an argument for a Run Javascript function within a flow, I should be able to pick a data binding from a form response

Actual behavior

Single quotes are added to the value, which cause the binding to be treated as a string

How to reproduce

On success of a form, create a flow and use the Run Javascript action and attempt to bind an Argument to the response of the form

The code that results (invalid)

run({runJS:{function:'sendResponse',args:['`form1.data.insertID`']}})

Should be:

run({runJS:{function:'sendResponse',args:[`form1.data.insertID`]}})
1 Like

Thanks for report this bug, @mebeingken! I lost 2 hours searching this forum on why my values were passing as string!

This has been fixed in Wappler 4.2.1

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