Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 299256

Allow end date to be optional

$
0
0

Problem/Motivation

The 7.x Date module allowed the field to have an optional or required end date. D8 always requires the end date.

Proposed resolution

Make end_value in DateRangeItem optional, add validation constraint via configuration.

Remaining tasks

  1. Add tests for formatters (and probably widgets). (See #75.)
  2. Add missing match limit to test code. (See #81.)
  3. If the start date is missing, stop deleting the end date on saving the form. (See #84.)
  4. If missing, indicate that the end date is unknown/unspecified on display. (See #84.)

User interface changes

API changes

Data model changes


Viewing all articles
Browse latest Browse all 299256

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>