Allow multiple instances of the same exposed filter form on a single page

Created on 1 May 2018, about 6 years ago
Updated 12 January 2024, 6 months ago

Problem/Motivation

A page with multiple Views exposed forms with AJAX enabled will trigger all form instances on the page because the form ID is the same when one of the forms is added to the page via AJAX. Also, this Drupal 7 issue is the same issue, but I didn't have a need for the cache fix there: #1735096: Allow multiple instances of the same exposed filter form on a single page →

Proposed resolution

Use the Views DOM ID to have unique form IDs.

📌 Task
Status

Needs work

Version

11.0 🔥

Component
Views  →

Last updated 20 minutes ago

Created by

🇺🇸United States Daniel Korte Brooklyn, NY

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

Sign in to follow issues

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.69.0 2024