From 570712c0deaa53a1e7d75ff305499dcdecb9c602 Mon Sep 17 00:00:00 2001 From: Shawn Erquhart Date: Wed, 29 Mar 2017 15:12:28 -0400 Subject: [PATCH] #315 fix example optional field --- example/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/config.yml b/example/config.yml index 15f01c74..8cd21fb0 100644 --- a/example/config.yml +++ b/example/config.yml @@ -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"}