Datepicker doesn't allow dates before (I assume) 10 years ago
I created a form that used datepicker to enter the birthdate of the person. I have just started looking through the code to find out why it doesn't allow dates before 10 years ago but this is a show stopper. I tried mucking with minDate and defaultDate with no affect. I don't know if this is needs to be an enhancement or a bug but I am going to list it as a bug since I am not finding anywhere in the docs that this limitation existed.
Change History (3)
Component: |
ui.core →
ui.datepicker
|
Owner: |
changed from paul to grabanski
|
Resolution: |
→ wontfix
|
Status: |
new →
closed
|
The list of years provided in the drop-down is controlled by the yearRange setting. By default it is '-10:+10' indicating ten years before and after today. You can change this range or use actual year values, e.g. '1900:2010'.