I uploaded a dataset but when I tried setting in the options from a retrieved column, it didn't work, and gave me an error saying it wasnt a list. how do i get past this error?
Edit: Nvm I got it fixed.
How: I basically created a new array and then added each item with a for loop like this:
onEvent("ComposeB", "click", function( ) {
var myFirstList = getColumn("myStuff", "myStuff");
var newArray = [];
for (var i = 0; i < myFirstList.length; i++) {
//A mistake I did here was declare the array in the for loop. Don't do that, it should be right above the for loop.
insertItem(newArray, i, Emails[i]);
}
setProperty("MyDropDown", "options", newArray);
});