custom widget property not defined (undefined), how to solve?
I believe that when the custom widget code is executed, the result of this JS variable is not ready yet. How to define this order of execution? Is there any detail that I should look at more closely? Can this be caused by the structure of my custom widget itself?
Could you share a page with the custom widget (or simplified versions of both) so we can see what is happening?
The problem has been solved. When inserting the input variable of the custom Widget as a condition for Hidden parameter, the return content of the widget became visualized in the main page content. I confess that I did not understand the connection between elements, but that solved the problem.