Display columns for all the fields from all enabled entity bundles in inline entity form table

Created on 7 January 2025, 3 months ago

Problem/Motivation

I have an entity reference field which references an entity with multiple bundles as an inline entity form in table view mode. The bundles have some fields in common and some that are only defined on one bundle.

The columns displayed for the inline entity form table are for some reason only the defined fields of the last enabled bundle for the entity reference field. The columns for all other fields defined in other bundles and not the last one are not shown.

Proposed resolution

This seems to be an issue in the code. I have a suggestion of how this could be solved, but am not sure if this is the best solution. See screenshot of how this would look - cells for fields not belonging to the bundle will display "N/A".

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024