Hi all, I’m quite new to ReTool. And pretty new to JS as well, so I have probably bitten of a little more than I can chew again. . . . Seems to be my thing.
I’m working out what i’m needed to get done for my client though. However am now snagged here, which would seem to be a very simple thing.
I’m trying to populate a dropdown based on data that is changing so not hard coded in through “inspector: values”
Is there a way to populate it through JS from an array? dropdown.setValue seems to set the selected value and not the list of values. The property dropdown.values seems to list values in the dropdown as an array but it seems to only be possible to read from .values and not write to it. I have looked and searched for other options and properties but don’t seem to be making progress.
Another approach I could take would be to have the dropdown populated with a column of data within a table. But again i’m not quite sure how to go about this.
Any input would be hugely appreciated.
Looking forward to hearing back. Many thanks in advance.