Dropdown
A dropdown with a list of items for user to selected
| Name | Description | 
| component | dropdown | 
| text | label for the dropdown | 
| selectedValue | default value to be selected, if none provided, first one will be selected | 
| items | list of value pair items for the dropdown | 
| dataSource | TBD, a datasource to retrieve value pair items for the dropdown | 
| action | action to perform when user tap/click on the button, this can be text such as closeand platformwill implement the action or an action object. Some valid actions are
 
 createDispatch,dispatch, etc, with each action provided proper params | 
Actions
| Name | Description | 
| close | close the current screen | 
| object | if object is a json object that has targetattribute, will invoke the target (see Actions targets below) | 
Action targets
| Name | Description | 
| invokeScript | invoke a script with optionsasjsonParams | 
| moveToBucket | Move item from one bucket to another, required fromBucketHandleandtoBucketHandlein theoptionsattribute | 
Example
{
 "component": "dropdown",
 "text": "Qty:",
 "defaultValue": 1,
 "items": [
  {
   "value": 1,
   "text": 1
  },
  {
   "value": 2,
   "text": 2
  },
  {
   "value": 3,
   "text": 3
  }
 ]
}