Select Field
This is an advanced-use feature, and likely not something you'll need to configure. What you probably want is the content types reference!
The select field represents a select element.
Options
REQUIRED
component
'select'
The name of the plugin component. Always 'select'.
REQUIRED
name
string
The path to some value in the data being edited.
REQUIRED
options
(Option | string)[]
An array of strings or Options to select from.
label
string
A human readable label for the field. Defaults to the name.
description
string
Description that expands on the purpose of the field or prompts a specific action.
All properties marked as REQUIRED must be specified for the field to work properly.
This interfaces only shows the keys unique to the select field. Visit the Field Config docs for a complete list of options.
Example #1: Select an Author
Below is an example of how a select field could be used to select the author of a blog post
Example #2: Select a Heading Color
Below is an example of how a text field could be used to set the heading color for a blog post.