Hello, Is there any way I can limit the min and max date selection on the calendar control field ? I need to limit it in a max selection of 6 months from today date but couldnt find any info regarding it. Any help would be appreciated. Thanks
The only solution I could find for now is using the minYear and maxYear attributes. But it doesnt seem to solve the issue as I need to put a more restricted limit, and not limit it to a specific year.
Is there any link to doc for this? I cant find it anywhere
There's no doc for your issue (https://docs.joomla.org/Calendar_form_field_type). I think shub1711 is just a troll.
The only solution I could find for now is using the minYear and maxYear attributes
You are right. There is no other setting in Joomla 3 or Joomla 4 (as far as I see after code investigations). You can try to make a feature request out of this issue for Joomla 4.
Joomla 3 doesn't accept new features.
You are right. There is no other setting in Joomla 3 or Joomla 4 (as far as I see after code investigations). You can try to make a feature request out of this issue for Joomla 4.
Joomla 3 doesn't accept new features.
Thanks, I saw there has been a PR a few years ago to add dateStart and dateEnd but it looks like those never got implemented
@AndonZeno Can you share the link to the PR?
So, the PR was closed because the author never responded. I am working on this now.
update: I am no longer working on it.
Can someone please add the J4 Issue and Feature Request labels please
Labels |
Added:
?
J4 Issue
|
I was looking for this option/feature for one of our J4 websites. I think this has not been added yet? Is there anyone who can add the min and max date attributes to the calendar field? I would do it myself if I could, but unfortunately don't know how.
I was looking for this option/feature for one of our J4 websites. I think this has not been added yet? Is there anyone who can add the min and max date attributes to the calendar field? I would do it myself if I could, but unfortunately don't know how.
Im working on it will do a PR soon
Is there any link to doc for this? I cant find it anywhere