#7839 closed bug (notabug)
If changeyear option is false, how to set exact year
Reported by: | concware1 | Owned by: | concware1 |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.datepicker | Version: | 1.8.14 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I have a yearselector control on a page and if the user select a year, all the additional textboxes need to display dates for the specified year. I set the changeyear to false, but i did not find any option to set the exact year, it always display today's date.
Change History (4)
comment:1 Changed 11 years ago by
Component: | ui.core → ui.datepicker |
---|---|
Owner: | set to concware1 |
Status: | new → pending |
comment:2 Changed 11 years ago by
Status: | pending → new |
---|
On this page, i displad lot of year on a control and if the user select one from this control, i display its details that are depend on year. The user have to set for example start dates and end dates a period that can not be greater or lower than the selected year. I changed the changeYear option to false on datepickers, on this way the year of datepicker can not be changed by the user, but i have to set the year on datepicker to display other year by default, but i did not find any option for this.
comment:3 Changed 11 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Use minDate and maxDate. Please use the forums for help.
Please provide more detail. A reduced test case would be extremely helpful.