Problem/Motivation

Currently the widgets display the same form regardless of what datetime_type the field is set to. This can be a little confusing to the end user, since it shows the time fields even if the field is set to only store the date.

Proposed resolution

date_recur_modular_alpha: Hide the time element if the field is set to date only or all day.
date_recur_modular_oscar: Prevent selecting this widget if the field is to date only.
date_recur_modular_sierra: Lock the "all day" checkbox to checked if the field is set to date only or all day.

In my testing this seems to work fine and provides a more consistent experience to the end user.

Comments

jacobbell84 created an issue. See original summary.

jacobbell84’s picture

Fixing an issue with timezones when dealing with a date only field. Logic now mimics the default date range widget

jacobbell84’s picture