Skip to content

Commit

Permalink
TinaCMS content update
Browse files Browse the repository at this point in the history
Co-authored-by: Matt Wicks <[email protected]>
  • Loading branch information
tina-cloud-app[bot] and wicksipedia authored Oct 29, 2024
1 parent f684048 commit be0a265
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion content/docs/reference/fields.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Although some fields have more properties here is a list of common ones that are
| `name` | The name of the field |
| `type` | The [type of the field](/docs/reference/types/) to be used |
| `label` | A human friendly label that will be displayed to the user (*optional*, defaults to `name`) |
| `description` | A short description about the field that will be displayed to the user (*optional*, can include html formatting e.g. style attributes) |
| `required` | If `true`, the collection cannot be saved without this field present (*optional*, defaults to `false`) |
| `isTitle` | Denote a field as the title of a collection. [See below for more details](#istitle) (*optional*, defaults to `false`) |
| `isBody` | If `true` this field will be used as the body of the document. [See below for more details](#isbody) (*optional*, defaults to `false`) |
Expand Down Expand Up @@ -120,7 +121,7 @@ export default defineConfig({
}
```

`ui.min` will ensure that once the specified minimum number of items is added (ex: 3 in the example), users will not be able to remove items if there are only the minimum number of items.
`ui.min` will ensure that once the specified minimum number of items is added (ex: 3 in the example), users will not be able to remove items if there are only the minimum number of items.

It can apply to all field types with list `list: true` specified, provided they appear as a list in the editor. Specifically, this is the:

Expand Down

0 comments on commit be0a265

Please sign in to comment.