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
Copy file name to clipboardExpand all lines: docs/fields/overview.mdx
+16-15
Original file line number
Diff line number
Diff line change
@@ -173,21 +173,22 @@ Example:
173
173
174
174
In addition to each field's base configuration, you can define specific traits and properties for fields that only have effect on how they are rendered in the Admin panel. The following properties are available for all fields within the `admin` property:
|`condition`| You can programmatically show / hide fields based on what other fields are doing. [Click here](#conditional-logic) for more info. |
179
-
|`components`| All field components can be completely and easily swapped out for custom components that you define. [Click here](#custom-components) for more info. |
180
-
|`description`| Helper text to display with the field to provide more information for the editor user. [Click here](#description) for more info. |
181
-
|`position`| Specify if the field should be rendered in the sidebar by defining `position: 'sidebar'`. |
182
-
|`width`| Restrict the width of a field. you can pass any string-based value here, be it pixels, percentages, etc. This property is especially useful when fields are nested within a `Row` type where they can be organized horizontally. |
183
-
|`style`| Attach raw CSS style properties to the root DOM element of a field. |
184
-
|`className`| Attach a CSS class name to the root DOM element of a field. |
185
-
|`readOnly`| Setting a field to `readOnly` has no effect on the API whatsoever but disables the admin component's editability to prevent editors from modifying the field's value. |
186
-
|`disabled`| If a field is `disabled`, it is completely omitted from the Admin panel. |
187
-
|`disableBulkEdit`| Set `disableBulkEdit` to `true` to prevent fields from appearing in the select options when making edits for multiple documents. |
188
-
|`disableListColumn`| Set `disableListColumn` to `true` to prevent fields from appearing in the list view column selector. |
189
-
|`disableListFilter`| Set `disableListFilter` to `true` to prevent fields from appearing in the list view filter options. |
190
-
|`hidden`| Setting a field's `hidden` property on its `admin` config will transform it into a `hidden` input type. Its value will still submit with the Admin panel's requests, but the field itself will not be visible to editors. |
|`condition`| You can programmatically show / hide fields based on what other fields are doing. [Click here](#conditional-logic) for more info. |
179
+
|`components`| All field components can be completely and easily swapped out for custom components that you define. [Click here](#custom-components) for more info. |
180
+
|`description`| Helper text to display with the field to provide more information for the editor user. [Click here](#description) for more info. |
181
+
|`position`| Specify if the field should be rendered in the sidebar by defining `position: 'sidebar'`. |
182
+
|`width`| Restrict the width of a field. you can pass any string-based value here, be it pixels, percentages, etc. This property is especially useful when fields are nested within a `Row` type where they can be organized horizontally. |
183
+
|`style`| Attach raw CSS style properties to the root DOM element of a field. |
184
+
|`className`| Attach a CSS class name to the root DOM element of a field. |
185
+
|`readOnly`| Setting a field to `readOnly` has no effect on the API whatsoever but disables the admin component's editability to prevent editors from modifying the field's value. |
186
+
|`disabled`| If a field is `disabled`, it is completely omitted from the Admin panel. |
187
+
|`disableBulkEdit`| Set `disableBulkEdit` to `true` to prevent fields from appearing in the select options when making edits for multiple documents. |
188
+
|`disableListColumn`| Set `disableListColumn` to `true` to prevent fields from appearing in the list view column selector. |
189
+
|`disableListFilter`| Set `disableListFilter` to `true` to prevent fields from appearing in the list view filter options. |
190
+
|`hidden`| Setting a field's `hidden` property on its `admin` config will transform it into a `hidden` input type. Its value will still submit with the Admin panel's requests, but the field itself will not be visible to editors. |
191
+
|`hiddenInVersionView`| Set `hiddenInVersionView` to `true` to prevent fields from appearing in the version view when comparing multiple versions of a document. |
0 commit comments