Internal paragraph type selection does not work with exclude filter

Created on 13 August 2025, 2 months ago

Problem/Motivation

When using the “Exclude the selected below” filter option in the paragraphs field settings, the edit form works as expected, since the logic for that is mostly coming from the Paragraphs module. However, the internal logic of Paragraphs Table fails to incorporate that same logic and simply retrieves a list of all checked paragraph types to perform its filtering ($handler["target_bundles"]) leading to unexpected behavior in both the “Paragraph Tables” styled edit form and displayed table.

Steps to reproduce

  1. Do not check all available paragraph types in the paragraph field settings
  2. Check “Exclude the selected below” as the filter
  3. Use “Paragraph Tables” as the formatter for both form and view modes
  4. Add a few paragraphs of different types
  5. See that the view is broken in both the form and view

Proposed resolution

Retrieve the list of paragraph type bundles to allow with the same method as the paragraphs module does it, instead of the custom solution.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇩🇪Germany lrwebks Porta Westfalica

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