When using the optional end date module and enabling this module, the specific title for the end date is not shown correctly.

It should read as "End date (optional): but in fact reads as "End date"

Please see screenshots of the same field, one with the normal drupal date range widget chosen and the next with this module's widget selected.

Possibly related to issue 2907483 - where titles were not shown.

Comments

jamesfk created an issue. See original summary.

valic’s picture

Assigned: Unassigned » valic

  • valic committed 662b0bb on 8.x-1.x
    Issue #2982299 by jamesfk, valic: Optional end date label not displayed...
valic’s picture

Assigned: valic » Unassigned
Status: Active » Fixed
Issue tags: +8.x-1.7 release target

If a field is optional, the label for end date have now a string at the end: (optional).

In dev version, going with 1.7 release

valic’s picture

Status: Fixed » Closed (fixed)

Released in 1.7

johnpitcairn’s picture

This is not fixed in 8.x-1.7.0. It needs more than a label change.

The Optional End Date module provides a setting on the field storage that allows the end date/time in a datetime range field to be optional:

Optional end date setting

The datetime range field can then be set to be required, and the result using the core formatter is this:

Core formatter

Note the "required" asterisks.

Using SIngle Date Time Picker as the formatter, if the field is required but the end date is optional, both fields will still be required:

SDTP formatter

johnpitcairn’s picture

Title: Optional end date label not displayed correctly » Optional end date label not supported correctly
johnpitcairn’s picture

Title: Optional end date label not supported correctly » Optional end date not supported correctly