fix(netlify-cms-core): validate nested fields (#1873)

This commit is contained in:
Bartholomew
2019-02-05 23:27:34 +01:00
committed by Shawn Erquhart
parent ade5809dff
commit 627e600d29
10 changed files with 183 additions and 22 deletions

View File

@ -62,7 +62,7 @@ collections: # A list of collections the CMS should be able to edit
fields:
- { label: 'Number of posts on frontpage', name: front_limit, widget: number }
- { label: 'Default Author', name: author, widget: string }
- { label: 'Default Thumbnail', name: thumb, widget: image, class: 'thumb' }
- { label: 'Default Thumbnail', name: thumb, widget: image, class: 'thumb', required: false }
- name: 'authors'
label: 'Authors'