label visually hidden when exposing operator along with value

Created on 28 May 2025, 11 days ago

Problem/Motivation

It's helpful for dates and sometimes select lists to allow people to change operators. I would expect the label to still appear.

There is a label element for the operator with class="visually-hidden" on it. The value itself is wrapped in a div that contains class="form-no-label". It seems like the logic is to hide the operator so it isn't a dupe of the value, but it's been hidden twice.

The hide label checkbox in settings is turned off. I tried enabling it, saving, then unchecking and saving again. This happens across views.

Steps to reproduce

Create a view with (at least with a date or list field) and expose the operator as well as the value.

Proposed resolution

Not apply visually-hidden unless the checkbox is ticked.

Drupal 10.4.7

πŸ› Bug report
Status

Active

Version

7.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States erutan

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

Comments & Activities

Production build 0.71.5 2024