Adding string data does nothing for partials

OS info

  • Operating System : Windows 10.0.17134
  • Wappler Version : 3.5.1

Problem description

I added text as arguments to a partial:

And it does not work. What is that _() function? Less savvy people may not know what is going on. Obviously that function is causing my problems, since I can remove it and it works. I recognize that is most likely a common construct for translations, but I do not see a translations table anywhere.

This fixes my issue:

The _() function evaluates a server connect expression. So as it expects a valid js expression with server connect variables in it.

Obviously just a static string is not valid or it has to be double quoted, so I will investigate what is going on.

1 Like

Should be fixed now in Wappler 3.5.2

1 Like

This topic was automatically closed after 4 days. New replies are no longer allowed.