Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#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 8 years ago by Scott González

Component: ui.coreui.datepicker
Owner: set to concware1
Status: newpending

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

comment:2 Changed 8 years ago by concware1

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.

comment:3 Changed 8 years ago by Scott González

Resolution: invalid
Status: newclosed

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

comment:4 Changed 8 years ago by concware1

Thanks your fast help so much!

Note: See TracTickets for help on using tickets.