JonL
1
If I convert something piece of code to a partial via the UI (move to partial) I get the following statement.
<%- await include('path/to/file') %>
If I add the partial via “Add new component” I get the following statement.
<%- await include('path/to/file', Object.assign({}, locals, )) %>
Also, is there a reason to include a comma right after locals?
1 Like
George
2
Good catch, the second syntax is how it should be, so input variables work as well.
Will fix it
2 Likes
George
4
Fixed now in Wappler 3.4.0
George
Closed
6
This topic was automatically closed after 27 hours. New replies are no longer allowed.