Add theme function for form labels in JavaScript

Created on 20 September 2019, about 5 years ago
Updated 2 September 2023, over 1 year ago

Problem/Motivation

#3024975: Add Drupal JavaScript theme function for checkbox added theme function for rendering markup for checkboxes. Drupal.behaviors.MediaLibrarySelectAll also needs to render a label.

Proposed resolution

Create a new theme function that allows rendering labels for form inputs.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Added JavaScript theme function for form labels

Feature request
Status

Needs work

Version

11.0 🔥

Component
Javascript 

Last updated 1 day ago

Created by

🇫🇮Finland lauriii Finland

Live updates comments and jobs are added and updated live.
  • Accessibility

    It affects the ability of people with disabilities or special needs (such as blindness or color-blindness) to use Drupal.

  • 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

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