Skip to content

Dropdown values do not show up #14

@afirdousi

Description

@afirdousi

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
              //  }


                });

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions