Match States API required fields theming with Forms API

Created on 8 March 2010, over 14 years ago
Updated 30 May 2023, about 1 year ago

Currently states.js just adds a "form-required" class to the dependee form element when marking it as required.
With this patch, I propose to improve this by matching the appearance of a plain Forms API required field, by adding a themable marker at the end of the corresponding label, identical by default to that defined by theme_form_required_marker.

📌 Task
Status

Needs work

Version

11.0 🔥

Component
Form  →

Last updated about 8 hours ago

Created by

🇮🇹Italy peterpoe

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.

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.69.0 2024