A Field is a specific type of value within a Collection. For example, you might have Title, Body, Author, and Date Published fields within an Articles collection. Each field represents a database column.
To get started, go to Settings > Collections & Fields, choose the Collection you want to add the field to, then click "New Field".
Do you want a Toggle? Text Input? Map? Dropdown? Relationship? There are many Core Interfaces available here, with even more Extension Interfaces available. This is always the first step when creating a new field, and dictates the rest of the process.
Only the "Name" is required for this step, but it's good to familiarize yourself with the other options to get the most out of each field.
This step only appears if you selected a relational interface, such as Many to Many or Translations. If you're unfamiliar with relationships you can learn how to configure them in our Relationships Guide.
Interfaces are highly customizable with options that allow you to tailor them to individual uses. These vary depending on interface complexity, with less-common options hidden within an "Advanced" accordion.
You can change the order, size, position, and grouping of fields on the Item Detail page to create tailored forms for each collection. A unified interface is in development to modify all of these options at once.
Directus fields completely mirror their respective database columns, however the specific order of columns in the database can be used to optimize query performance. Therefore Directus allows you to manage column order and field layout separately. Use the drag handles on the left of each field to update their order in the database.
Clicking the "×" icon on the right side of the Fields interface will completely delete the field from the schema as well as all its Item data. You are prompted to confirm this action, however once the field delete is executed the change takes place immediately.
It is possible to irreverisbly delete massive amounts of data with this feature. Proceed with extreme caution.