Attaching/Returning A Collection to Another Collection

I have been trying to connect an authors collection to a posts collection so that the inputer only has to select from a dropdown of authors.

- { label: 'Author',
      name: 'author',
      widget: 'relation',
      collection: 'authors',
      searchFields: ['name'],
      displayFields: ['name'],
      valueField: 'name'
}

The problem with the relation widget its that valueField only excepts one field property. Unlike its counterparts that can except an array. But I need all author properties. Does anyone have a solution for this? I have been looking for hours and haven’t found anything that would do what I need. Any help is greatly appreciated. Thanks in advance.

FYI: Using Nuxtjs

Hi @scottcarlton and welcome to the community :smile:
The valueField is meant to be used as a unique identity field for the relation, so you shouldn’t need more that one field.
Regardless you can use a string template to include multiple fields, e.g.:

valueField: '{{name}} - {{age}}'

See example at the end here Widgets | Netlify CMS | Open-Source Content Management System