Add support for "Entity browser" displays

Created on 17 September 2025, 3 days ago

Problem/Motivation

The Views filters summary "x" and "Reset" buttons do not work when used with Entity Browser displays. This is because of how the data-exposed-form-id property is constructed. For standard displays (e.g., Page), exposed form ID it is built like:

<form id="views-exposed-form-<VIEW_ID>-<DISPLAY_ID>...">

However, for Entity Browser displays the situation is different. Entity Browser embeds the View’s exposed filters inside its own form (no separate <form id="views-exposed-form-...">). The Entity Browser form ID looks like:

<form id="<DISPLAY_ID>...">.

This situation is not covered on Views Exposed Filters Summary.

Steps to reproduce

Configure View with display Entity Browser, with Views Exposed Filters Summary.

Proposed resolution

Detect Entity Browser displays and generate data-exposed-form-id correctly.

Remaining tasks

Review.

🐛 Bug report
Status

Active

Version

3.2

Component

Code

Created by

🇵🇱Poland gugalamaciek

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024