I am running into a weird 'bug' where I have a form component (lets call it form) with lots of text or dropdown components. Each of these components are populated with data from a Query but the user is also able to alter these values.
I want to take the data from this form to post it with a different query but the issue is I'm not able to just choose form.data. I have done this on other places in the app but can't seem to find why it doesn't want to do it with this one.
Retool has been acting weird all day with proposed methods but even if I type it manually it returns nothing.
Is there somewhere I can look or someone who has had a similar issue?
Sorry for the lack of information:
I am trying to access this data inside a script using nothing more than return form.data. When I then try to run that, it doesn't return anything. The first screenshot is the script I am trying to run and the second screenshot is an empty version of the form I want to get the data from. Of course I have been trying to retrieve the data when the form is populated.
After reloading the page (which I had done earlier as well) it works now..
The issue of things only working after reloading multiple times is getting to me
I was in the page code so it wasn't an issue of being a global defined script, even tho it's good to know that I can't access data there.