The Select field will add a dropdown select box of choices for the content authors to pick from. 

Define the options available in the dropdown in the configuration of this field.
 

Configuration

Assign the Select field a Field name that will display in the entry editor and an API ID. 

You can add placeholder text to the select field in the Field placeholder option. For example, “Select one…”  

The options available in the select to content writers is configured in the Options field. Simply add one option per line and they will appear in the order you define.

Finally, you can click the checkbox to have the first value in the Options list used as the default value.

 

JSON Editor

The following is a select field which defaults to the first option:

"featured-post" : {
  "type" : "Select",
  "config" : {
    "options" : [ "Yes", "No" ],
    "default_value": "Yes",
    "label" : "Is this a Featured Post?"
  }
}

 

The following is a select field with a placeholder value:

"age-group" : {
  "type" : "Select",
  "config" : {
    "options" : [ "Less than 18", "18-30", "31-50", "50+" ],
    "label" : "Age Group",
    "placeholder" : "Select an age group"
  }
}

 

JSON Reference 

"type": (string, required) Value must equal "Select"

"config": (object, optional) Options listed below

 

config

"label": (string) Sets the label that shows up for the field in the entry editor

"placeholder": (string) Sets a placeholder to display in the select dropdown

"options": (array) An array of strings that will be the available options in the select dropdown

"default_value": (string) set to the first value in the options and the select will default to this option

Did this answer your question?