I have a drop down and I want to use the values option. I tried giving passing an array to "values" in the options object. It show's the values but when the user selects one and presses "OK" the promise is not returning the selected. Everything works for a simple text box.
self.prompt({
"title": "Cloning Search",
"message": "",
"label": "Enter Business Owner Name",
"dropDown":true,
"values":self.businessOwnerLst
}).then(function(newName) {
//When I console this 'newName' it gives me the following object
// {
// label: "OK",
// primary: true,
// __proto__: Object
// }
});
I have a drop down and I want to use the values option. I tried giving passing an array to "values" in the options object. It show's the values but when the user selects one and presses "OK" the promise is not returning the selected. Everything works for a simple text box.