Problem/Motivation

When editing content with a child field that uses Dynamic Reference Selection, the text of the options uses the entity's default label, not the render from the configured view. Only after the field is affected by its parent field's changes, the options are rendered correctly (the dynamic options use the rendered values from the view).

Does not affect content creation, presumably the child remains empty until the parent selection is made.

Steps to reproduce

Proposed resolution

- Mimic how core's built in views EntityReferenceSelection plugin renders options.

Remaining tasks

- Test
- Review
- Merge

User interface changes

- The child options should now render options from the view on form page load.

API changes

- None.

Data model changes

- None.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

fskreuz created an issue. See original summary.

fskreuz’s picture

Status: Active » Needs review