decaporg / decaporg/decap-cms

Reference in "summary" field to a relation widget shows value_field, not display field

Open
#6,325 0 comments 1 reaction 0 assignees View on GitHub
area: extensions/widgets/relation type: bug
Dominant language
JavaScript
Stars
19.4k
Forks
3.1k
Avg merge
1d 14h
Merged PRs (30d)
9

Description

When referencing a relationship widget inside a `summary` field, the wrong value is displayed.

Expected it to display the value of `display_fields` and not as it currently is, the `value_field`.
Because the `value_field` holds the indentifier, which most often not what the user should see.

Example:
Screen Shot 2022-03-25 at 1 03 29 PM

Reference:
https://github.com/netlify/netlify-cms/pull/3616#issuecomment-626250996

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.