You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|**`name`**\*| To be used as the property name when stored and retrieved from the database. [More](/docs/fields/overview#field-names)|
32
-
|**`relationTo`**\*| Provide one or many collection `slug`s to be able to assign relationships to. |
33
-
|**`filterOptions`**| A query to filter which options appear in the UI and validate against. [More](#filtering-relationship-options). |
34
-
|**`hasMany`**| Boolean when, if set to `true`, allows this field to have many relations instead of only one. |
35
-
|**`minRows`**| A number for the fewest allowed items during validation when a value is present. Used with `hasMany`. |
36
-
|**`maxRows`**| A number for the most allowed items during validation when a value is present. Used with `hasMany`. |
37
-
|**`maxDepth`**| Sets a number limit on iterations of related documents to populate when queried. [Depth](/docs/getting-started/concepts#depth)|
38
-
|**`label`**| Text used as a field label in the Admin panel or an object with keys for each language. |
39
-
|**`unique`**| Enforce that each entry in the Collection has a unique value for this field. |
40
-
|**`validate`**| Provide a custom validation function that will be executed on both the Admin panel and the backend. [More](/docs/fields/overview#validation)|
41
-
|**`index`**| Build an [index](/docs/database/overview) for this field to produce faster queries. Set this field to `true` if your users will perform queries on this field's data often. |
42
-
|**`saveToJWT`**| If this field is top-level and nested in a config supporting [Authentication](/docs/authentication/config), include its data in the user JWT. |
43
-
|**`hooks`**| Provide field-based hooks to control logic for this field. [More](/docs/fields/overview#field-level-hooks)|
44
-
|**`access`**| Provide field-based access control to denote what users can see and do with this field's data. [More](/docs/fields/overview#field-level-access-control)|
45
-
|**`hidden`**| Restrict this field's visibility from all APIs entirely. Will still be saved to the database, but will not appear in any API or the Admin panel. |
46
-
|**`defaultValue`**| Provide data to be used for this field's default value. [More](/docs/fields/overview#default-values)|
47
-
|**`localized`**| Enable localization for this field. Requires [localization to be enabled](/docs/configuration/localization) in the Base config. |
48
-
|**`required`**| Require this field to have a value. |
49
-
|**`admin`**| Admin-specific configuration. See the [default field admin config](/docs/fields/overview#admin-config) for more details. |
50
-
|**`custom`**| Extension point for adding custom data (e.g. for plugins) |
|**`name`**\*| To be used as the property name when stored and retrieved from the database. [More](/docs/fields/overview#field-names)|
32
+
|**`relationTo`**\*| Provide one or many collection `slug`s to be able to assign relationships to. |
33
+
|**`filterOptions`**| A query to filter which options appear in the UI and validate against. [More](#filtering-relationship-options). |
34
+
|**`hasMany`**| Boolean when, if set to `true`, allows this field to have many relations instead of only one. |
35
+
|**`minRows`**| A number for the fewest allowed items during validation when a value is present. Used with `hasMany`. |
36
+
|**`maxRows`**| A number for the most allowed items during validation when a value is present. Used with `hasMany`. |
37
+
|**`maxDepth`**| Sets a maximum population depth for this field, regardless of the remaining depth when this field is reached. [Max Depth](/docs/getting-started/concepts#field-level-max-depth)|
38
+
|**`label`**| Text used as a field label in the Admin panel or an object with keys for each language. |
39
+
|**`unique`**| Enforce that each entry in the Collection has a unique value for this field. |
40
+
|**`validate`**| Provide a custom validation function that will be executed on both the Admin panel and the backend. [More](/docs/fields/overview#validation)|
41
+
|**`index`**| Build an [index](/docs/database/overview) for this field to produce faster queries. Set this field to `true` if your users will perform queries on this field's data often. |
42
+
|**`saveToJWT`**| If this field is top-level and nested in a config supporting [Authentication](/docs/authentication/config), include its data in the user JWT. |
43
+
|**`hooks`**| Provide field-based hooks to control logic for this field. [More](/docs/fields/overview#field-level-hooks)|
44
+
|**`access`**| Provide field-based access control to denote what users can see and do with this field's data. [More](/docs/fields/overview#field-level-access-control)|
45
+
|**`hidden`**| Restrict this field's visibility from all APIs entirely. Will still be saved to the database, but will not appear in any API or the Admin panel. |
46
+
|**`defaultValue`**| Provide data to be used for this field's default value. [More](/docs/fields/overview#default-values)|
47
+
|**`localized`**| Enable localization for this field. Requires [localization to be enabled](/docs/configuration/localization) in the Base config. |
48
+
|**`required`**| Require this field to have a value. |
49
+
|**`admin`**| Admin-specific configuration. See the [default field admin config](/docs/fields/overview#admin-config) for more details. |
50
+
|**`custom`**| Extension point for adding custom data (e.g. for plugins) |
51
51
52
52
_\* An asterisk denotes that a property is required._
0 commit comments