Skip to main content

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:

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 scottgonzalez comment:1

component: ui.coreui.datepicker
owner: → concware1
status: newpending

Please provide more detail. A reduced test case would be extremely helpful.

Changed November 08, 2011 11:52AM UTC by concware1 comment:2

status: pendingnew

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 scottgonzalez comment:3

resolution: → invalid
status: newclosed

Use minDate and maxDate. Please use the forums for help.

Changed November 08, 2011 02:34PM UTC by concware1 comment:4

Thanks your fast help so much!