I am working on a module that has a JS function added to the window scope. This function works fine in the module itself, but when the module is used in app it's no longer defined. Shouldn't it work in that case too?
How to reproduce:
Create a module
Add a global JS function. For example: function exampleFunc() { return 'example value' }
Add a text with the following value Output: {{exampleFunc()}}
Hey @vangelov this is a known bug in Retool that we are currently working on fixing. At the moment as a workaround you can place your JS code in your Preloaded JavaScript for your Retool instance. Hope this helps!