nuvoleweb / ui_patterns

[NOTE] Development has moved to https://drupal.org/project/ui_patterns
https://drupal.org/project/ui_patterns
GNU General Public License v2.0
85 stars 56 forks source link

Adds pattern fields with no value to the render as empty #288

Open manuel-adan opened 4 years ago

manuel-adan commented 4 years ago

I found that having a pattern with a field that has the same name as a source field, if the pattern field is empty but the source field is mapped into another pattern field, the source field value is rendered in the pattern field with the same name.

E.g., an entity with a base field named "title" rendered using a layout pattern which has also a field named "title". The pattern title field has no placements in the layout (it is empty), and the entity title field is placed elsewhere in the layout. The value of the entity title is shown in the pattern title field.

101 might be related to this.