Problem/Motivation

Currently, when the field is empty, an empty table wrapper is still being displayed when using the ParagraphsTableFormatter.

Steps to reproduce

  • Have a reference field containing no values on a node.
  • Check the node view
  • See that there is an empty table wrapper:

screenshot

Proposed resolution

Add an empty check for early return.

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork 3546901-3547134

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

    grevil created an issue. See original summary.

    grevil’s picture

    Status: Active » Fixed

    Now that this issue is closed, please review the contribution record.

    As a contributor, attribute any organization that helped you, or if you volunteered your own time.

    Maintainers, please credit people who helped resolve this issue.

    Status: Fixed » Closed (fixed)

    Automatically closed - issue fixed for 2 weeks with no activity.