-
Bug
-
Resolution: Fixed
-
Major
-
2.5
-
None
-
MOODLE_25_STABLE
-
MOODLE_25_STABLE
-
MDL-39463_master -
In 2.x when date_selectors are added to a form group their own disabledIf (the 'optional' parameter) logic does not work, meaning when the element was added to a group developers created their own disabledIf logic.
The date_selector and date_time_selector elements come with the ability to pass an 'optional' parameter. If this parameter is set to true, then an enabled checkbox is displayed next to the date selects. 2.5 introduced a calendar image next to the date that would trigger the calendar pop-up. When the enable checkbox was present this image would be disabled (ie. you could not click on it for the pop-up to display) if the box was not checked. However, some forms have created their own checkbox to disable the time as the 'optional' parameter disable functionality was not working when the date element was added to a group, which means the JS event to disable calendar image never gets executed as it is only triggered when the checkbox that comes with the element is checked.
- caused a regression
-
MDL-40933 When filtering user by access date the date fields should specify which field 'is before' and which field 'is after'.
- Closed
- Discovered while testing
-
MDL-39581 It's possible for the calendar popup to change multiple date elements.
- Closed
-
MDL-39582 Makes more sense for the calendar image to be next to the select fields when the enabled box is displayed.
- Closed
- has been marked as being related by
-
MDL-26649 Date picker formslib element usability improvements
- Closed
- is blocked by
-
MDL-39187 Date picker formslib element popup doesn't work when dateselector (a group of elements) is added within another group.
- Closed