Label does not show for Views bulk operations field in table header when create label set

Created on 29 August 2023, about 1 year ago
Updated 31 August 2023, about 1 year ago

Problem/Motivation

Label does not show for Views bulk operations field in table header when create label set.

inputs elements should also should have an label attached

Steps to reproduce

Add Global: Views bulk operations field to view using table format.
View rendered view. Header does not have label printing out.

Proposed resolution

Print label if it is set.
remove below code from https://git.drupalcode.org/project/views_bulk_operations/-/blob/4.2.x/sr...

      // Hide the actual label of the field on the table header.
      $this->options['label'] = '';

Remaining tasks

  1. Remove forcing label to be hidden
  2. Make label an actual `<label>` with `for=""` pointing to input id. May require adding id to `<input type="checkbox">`.

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

4.2

Component

Core

Created by

πŸ‡ΊπŸ‡ΈUnited States madhaze

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

Comments & Activities

Production build 0.71.5 2024