Dropdown
The dropdown can be used to select an option from a predefined list.
Example
{
  type: "dropdown",
  options: ["Option 1", "Option 2"],
  label: "Dropdown",
}Options
Input
Use these options when using the field with take.
| options | The options that are available. Options may be an array of strings or an array of objects with labelandvalueproperties. | 
| value? | The index of the optionsitem to use as the initial value of the field. | 
| key? | A key to access the value. If provided, each field must have a unique key. See makefor more information about accessing values. | 
| label? | A label describing the purpose of the field. | 
| detail? | Additional information about the field, disclosed in a tooltip. | 
| required? | Whether or not this field is required. | 
Data
A dropdown always returns a string value matching one of the options declared, or the value defined by the object in the options list.