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

Created on 1 May 2018, over 7 years ago
Updated 28 March 2023, over 2 years 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

10.1 ✨

Component
Views  →

Last updated about 2 months 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.

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