[Bug]: JS functions do not execute when set to run on page load
Is there an existing issue for this?
- [X] I have searched the existing issues
Description
Setting a JS functions to run on page load should execute and display on the respective widget but this does not happen
Steps To Reproduce
- Execute an API like
Api1.runon JS object and return data likeApi1.datafrom the functionmyFunc - Bind JSObj.myFunc.data to a table widget and observe the message that the JS function will be run on page load
- Refresh the page and observe table data being empty but the Api has been run successfully
Public Sample App
No response
Version
Cloud
@ramsaptami Could you please provide code snippets for these?
JS object that's been set to run on page load and also is bound to the table widgets on the canvas where no data is displayed when page is refreshed
Are we supposed to be allowed to connect async functions to table data? @ramsaptami
I'd assume this is a use case since we allow accessing function data so displaying transformed data from a function onto a table should be allowed?
@ramsaptami Is this issue still happening?
Closing this since it's working as expected