stringtype StringField = {
label: string
name: string
type: 'string'
list?: boolean
options?: (string | { value: string; label: string })[]
/** Represents the "body" of a markdown file **/
isBody: boolean
/** See docs/reference/toolkit/fields for customizing the UI **/
ui?: object
}optionsSpecifying an options array will provide a selection list
listSetting list: true will make the value an array
list with optionsSetting list: true and providing options will make the value an array with a selection list
isBody propertyWhen working with markdown, you can indicate that a given field should repesent the markdown body
By default, the text field is used for strings. To use a different core field plugin, specify it with the ui.component property
You can create your own components by adding them to the CMS
Last Edited: July 27, 2021