Better handling for the date format descriptions

Created on 9 August 2011, over 13 years ago
Updated 15 March 2024, 8 months ago

When the date popup widget is used, underneath each date and time textfield is text like "E.g., 08/09/2011" to show people what format to use when they are entering a date.

This description is unnecessary when the calendar popup (for dates) or the wvega timepicker (for times) are being used, since the popup widget will automatically fill things in using the correct format. So, this patch hides the description in those cases (for users with JavaScript turned on).

I also removed the associated TODO in the code, since I'm pretty sure it was referring to something along these lines.

✨ Feature request
Status

Needs review

Version

2.0

Component

Date Popup

Created by

πŸ‡ΊπŸ‡ΈUnited States David_Rothstein

Live updates comments and jobs are added and updated live.
  • Needs accessibility review

    Used to alert the accessibility topic maintainer(s) that an issue significantly affects (or has the potential to affect) the accessibility of Drupal, and their signoff is needed (see the governance policy draft for more information). Useful links: Drupal's accessibility standards, the Drupal Core accessibility gate.

Sign in to follow issues

Merge Requests

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