Dropdown option list fails to display

//This code populates the option list for the dropdown $w(‘#dropdownMember’)
//It starts by calling a function to build an array (artistProfiles) containing the list.
//This function is a Promise and the .then guarantees that the code does not proceed before the result is returned.
//This array is 100% always correct even when the dropdown malfunctions
dropdownMembersCreateList(artistProfiles)
.then ((result) => {
//To check: print returned array to console - this array is 100% always correct
console.log("In catalog edit-manager-dropdownMember options: result: ",result);
//Load the options into the dropdown
$w(‘#dropdownMember’).options = result;
//Just to check again: transfer the options list to a new variable and print it to the console - this array is 100% always correct
let resultTest = $w(‘#dropdownMember’).options;
console.log("In catalog edit-manager-dropdownMember options: $w(‘#dropdownMember’).options: ", resultTest);
//At this point the dropdown should isplay the options list - sometimes it does and others it does not…
});