Merge pull request #331 from netlify/fix-example-optional
fix example optional field
This commit is contained in:
commit
f9e2b28d27
@ -12,7 +12,7 @@ collections: # A list of collections the CMS should be able to edit
|
||||
create: true # Allow users to create new documents in this collection
|
||||
fields: # The fields each document in this collection have
|
||||
- {label: "Title", name: "title", widget: "string", tagname: "h1"}
|
||||
- {label: "Cover Image", name: "image", widget: "image", optional: true, tagname: ""}
|
||||
- {label: "Cover Image", name: "image", widget: "image", required: false, tagname: ""}
|
||||
- {label: "Body", name: "body", widget: "markdown"}
|
||||
meta:
|
||||
- {label: "Publish Date", name: "date", widget: "datetime", format: "YYYY-MM-DD hh:mma"}
|
||||
|
Loading…
x
Reference in New Issue
Block a user