Exposed regions form send unchecked checkbox exposed filter on form submit

Created on 20 March 2023, over 1 year ago
Updated 21 March 2023, over 1 year ago

Problem/Motivation

When using exposed form regions to configure the exposed filters in a view, if you uncheck one or more filters and apply them, the unchecked filters are still sent in the form and applied, even though they are not selected.

Steps to reproduce

1. Have an exposed checkbox type filter that allows multiple options.
2. Choose exposed form regions as configuration of the exposed filters
3. Check multiple filters.
4. Uncheck some of the filters.
5. When submitting the form, unchecked filters appear again, and the content is filtered with them.

Proposed resolution

Clear submit fields array each time a filter changes.

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇪🇸Spain gcots

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

Comments & Activities

Production build 0.71.5 2024