#325 ✓resolved
blakaz

Calendar with limits (in past) bug

Reported by blakaz | August 24th, 2010 @ 03:53 PM

Sample code:

var form_birthDate_options = {
  showButtons: true, 
  format: '%d.%m.%Y', 
  listYears: true, 
  fxName: null, 
  hideOnPick: true, 
  minDate: new Date(1910, 7, 24), 
  maxDate: new Date(1992, 7, 24)
};
var form_birthDate_calendar = new Calendar(form_birthDate_options);
form_birthDate_calendar.assignTo('form_birthDate');
form_birthDate_calendar.setDate(form_birthDate_calendar.options.maxDate);

See attached image.

When calendar is visible it does not 'jump' to the 'maxDate' date. And calendar shows current month. If I click the [<] button the calendar shows correct date (date-month-year).

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

RightJS Core Tickets

Shared Ticket Bins

People watching this ticket

Tags

Pages