The behaviour of minyear / maxyear attributes on the calendar field seems to no longer reflect the documentation, or that of how Joomla 3.10.x functioned.
Create a calendar field with minyear and maxyear attributes set to -10 and 1 respectively.
Calendar year is clamped between 2013 and 2023
Calendar year is clamped between the years -0010 and 0001
Joomla 4.3.0
https://docs.joomla.org/Calendar_form_field_type states "minyear (optional): set a signed integer for a number of years (-10, -2, 0, 7, 12, ...) to define the relative lower limit for the year selection. The user cannot select a year before this limit (starting with 3.7.0). If zero, which is the default, there is no limit."
It looks like this may have been of result of this commit (though I don't quite understand the motive behind said change)
Labels |
Added:
No Code Attached Yet
|
No idea, maybe to save a couple bites
Can probably revert that changes, need to look.
Labels |
Added:
bug
|
Any update on this?
No, for now
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-05-13 08:09:24 |
Closed_By | ⇒ | Fedik |
For other readers: The mentioned commit belongs to PR #34870 .
@Fedik Do you remember why you have removed the
getBoundary
calls?