Hi ,
I refer to Ticket #5572, in which I posted a couple of problems related to the PopUpDateField component. It seems that these issues are (or going to be) addressed except problem 1) which is about the selection of months or years using the calendar popup. If the date resolution is month or year, a date is immediately entered into the date field as soon as you open the calendar popup. Here is an argument pro this behaviour from Jonatan Kronqvist:
“[This]
is a bit more complicated than it seems. We need to allow selection of the current month without any hoops to jump through. When you open the popup, you’re signaling that you are about to select a date/month/year and, at least in month and year resolution, the default cannot be selected if it is not automatically selected when opening the popup.”
Well, I think I’ve got the point. However, I would suggest to make the month/year bar in the header of the calendar popup a button rather than introduce a difference in the behavior of the popup between the various resolutions. What is more, user errors are always possible, a user might click on the popup button by mistake (maybe he is confused, maybe he has time pressure or the like) then if he forget to delete the unwanted date, he ends up having it in the database.
Don’t you think?