Support displayFields in the Relation widget (#1303)

* Support displayFields in the Relation widget

* Fix typo

* Wrap display fields in String constructors

* 📝 Documentation updates
This commit is contained in:
Roger Zurawicki
2018-05-01 16:43:08 -07:00
committed by Benaiah Mischenko
parent 1316f21b1b
commit cd30b59b92
3 changed files with 14 additions and 4 deletions

View File

@ -74,6 +74,7 @@ collections: # A list of collections the CMS should be able to edit
name: "post"
widget: "relationKitchenSinkPost"
collection: "posts"
displayFields: ["title", "date"]
searchFields: ["title", "body"]
valueField: "title"
- {label: "Title", name: "title", widget: "string"}