Inline Flow Param Adding Unnecessary Single Quotes

Wappler Version : 4.0.1
Operating System : W10
Server Model: ASP .NET

Expected behavior

Selecting dynamic param for a Javascript step in inline flow, should add parameters as bindings and not string.

Actual behavior

When done as stated above, the output code is:

dmx-on:success="run({runJS:{function:'PrintPDF',args:['`scBulkPrintOrders.data.pdf`']}})"

The single quotes around argument is not required. Only the apostrophe is needed.
I also see this in other type of steps as well.
Haven’t tried page/app flows. Just inline flows.
This was reported in May '20 (Inline-flow: RunJS - data binding & closing single quote issues) and fixed. Looks like it got introduced in version 4 since it was working fine in varsion 3.

This has been fixed in Wappler 4.0.6

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