Boolean
The boolean widget translates a toggle switch input to a true/false value.
Code
The code widget provides a code editor (powered by Codemirror) with optional syntax awareness. Can output the raw code value or an object with the selected language and the raw code value.
Color
The color widget translates a color picker to a color string.
DateTime
The datetime widget translates a datetime picker to a datetime string.
File
The file widget allows editors to upload a file or select an existing one from the media library. The path to the file will be saved to the field as a string.
Hidden
Hidden widgets do not display in the UI. In folder collections that allow users to create new items, you will often want to set a default for hidden fields, so they will be set without requiring an input.
Image
The image widget allows editors to upload an image or select an existing one from the media library. The path to the image file will be saved to the field as a string.
List
The list widget allows you to create a repeatable item in the UI which saves as a list of widget values. map a user-provided string with a comma delimiter into a list. You can choose any widget as a child of a list widget—even other lists.
Map
The map widget allows you to edit spatial data using an interactive map. Spatial data for a single piece of geometry saves as a GeoJSON string in WGS84 projection.
Markdown
The markdown widget provides a full fledged text editor allowing users to format text with features such as headings and blockquotes. Users can change their editing view with a handy toggle button.
Number
The number widget uses an HTML number input, saving the value as a string, integer, or floating point number.
Object
The object widget allows you to group multiple widgets together, nested under a single field. You can choose any widget as a child of an object widget—even other objects.
Relation
The relation widget allows you to reference items from another collection. It provides a search input with a list of entries from the collection you're referencing, and the list automatically updates with matched entries based on what you've typed.
Select
The select widget allows you to pick a string value from a dropdown menu.
String
The string widget translates a basic text input to a string value. For larger textarea inputs, use the text widget.
Text
The text widget takes a multiline text field and saves it as a string. For shorter text inputs, use the string widget.