-
Bug
-
Resolution: Fixed
-
Critical
-
2.0.2, 2.2.3, 2.5
-
MOODLE_20_STABLE, MOODLE_22_STABLE, MOODLE_25_STABLE
-
MOODLE_25_STABLE
-
MDL-26649_master -
This was caused by the code in MDL-16592. The date picker used to be basic, but usable and fast to operate. Now it is hard to operate and looks broken. Our technical testing staff reported it as a bug as follows:
<<
For each of the date fields for the above labels i.e. 'allow editing from' and 'prevent editing from' the drop-down and the calender get displayed at the same time. This looks untidy and only one of the 2 options is necessary to make the selection and there is no need to have them both displayed at the same time.
>>
My suggestion would be:
1) As the easiest fix to leave it in a professional, working state with reasonable UI, we could just remove the popup.
2) Alternatively I suggest adding a separate button/icon (only added in JavaScript) which appears just to the right of the dropdowns, and opens the popup. So it doesn't interfere with you using the dropdowns at all. When clicking that button, the popup appears and the dropdown is disabled until you close the popup (which updates the dropdown dates).
If anybody wants us to implement #1 we certainly can. I think we might have time to implement #2 as well. Alternatively of course we're happy to leave this to somebody else This isn't on our critical list, we can leave it sucking if we have to. But it does suck really hard, I'm surprised nobody else has complained.
On which note - I did try to use Jira search to find if anyone had already reported this, I searched several times but didn't spot it? Very odd? Probably this is a duplicate and I just couldn't find it?
- caused a regression
-
MDL-42587 Date picker now lets you pick invalid dates
- Closed
- Discovered while testing
-
MDL-39047 Date picker/File picker javascript conflict
- Closed
- has a non-specific relationship to
-
MDL-39187 Date picker formslib element popup doesn't work when dateselector (a group of elements) is added within another group.
- Closed
-
MDL-39463 Some usages of the date_selector do not use the optional parameter but use another checkbox meaning the calendar image is never disabled by the JS.
- Closed
-
MDL-32297 date_time_selector popup is too constrained
- Closed
- has been marked as being related by
-
MDL-35675 constrained dateselector can appear in wrong places
- Closed
- is duplicated by
-
MDL-33771 Assignment date picker conflicts with date dropdown
- Closed
-
MDL-34168 trying to select a date for an event displays both a drop down and a calendar
- Closed
- will help resolve
-
MDL-34949 Need to click twice to select date for the first time in FireFox and Safari
- Closed