Collapsible sort doesn't have the CSS class that gets added to collapsible filter options

Created on 9 April 2025, 3 months ago

Note that I've labelled this as being attached to the 7.1.x-dev version but it's true for 7.0.x-dev and 6.0.x-dev as well, with the same solution for all.

Problem/Motivation

We are adding our own styling to the exposed filters. We realized that the sort filter wasn't getting the same styling as the other details/summary filters, and discovered it was because it is missing the "form-item" class.

Steps to reproduce

Create an exposed sort with the "make sort options collapsible" option enabled; inspect the source and note that the "form-item" class is not being added to the details element.

Proposed resolution

Add the "form-item" class to the details element for sort as well.

Remaining tasks

I'll create a branch/MR for this shortly.

User interface changes

If someone has *relied* on this class not being there for CSS styling (and hopefully not - it sounds pretty generic) then their styling would change.

πŸ› Bug report
Status

Active

Version

7.1

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada kpaxman

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