Search and Top Navigation
#7839 closed bug (notabug)
Opened November 08, 2011 10:01AM UTC
Closed November 08, 2011 12:00PM UTC
Last modified November 08, 2011 02:34PM UTC
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.
Attachments (0)
Change History (4)
Changed November 08, 2011 11:11AM UTC by comment:1
component: | ui.core → ui.datepicker |
---|---|
owner: | → concware1 |
status: | new → pending |
Changed November 08, 2011 11:52AM UTC by comment:2
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.
Changed November 08, 2011 12:00PM UTC by comment:3
resolution: | → invalid |
---|---|
status: | new → closed |
Use minDate and maxDate. Please use the forums for help.
Changed November 08, 2011 02:34PM UTC by comment:4
Thanks your fast help so much!
Please provide more detail. A reduced test case would be extremely helpful.