Quantcast
Viewing all articles
Browse latest Browse all 295177

Allow end date to be optional

Problem/Motivation

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

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 295177

Trending Articles



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