Opened 15 years ago

Closed 15 years ago

Last modified 11 years ago

#3420 closed defect (fixed)

DateTextBox: invalid dates not reflected in calendar

Reported by: bill Owned by: Adam Peller
Priority: high Milestone: 0.9
Component: Dijit - Form Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

  1. load test_validate.html
  2. go to the first date box (with constraints={min:'2004-01-01', max:'2006-12-31'})
  3. change the year from 05 to 07
  4. click the arrow

There's no indication on the Calendar widget that those dates are out of range. Probably should be reflected via an X through the day? In any case with today's code I don't see any special CSS class on the days at all.

It's also on a weird day (the 15th).

Change History (4)

comment:1 Changed 15 years ago by bill

Description: modified (diff)

comment:2 Changed 15 years ago by Adam Peller

Resolution: fixed
Status: newclosed

(In [9238]) For invalid date selection, change display month but not current date. Fixes #3420

comment:3 Changed 15 years ago by Adam Peller

A special style (calendarDisabledDate) is applied to the grid for disabled dates and they are grayed out with the current style sheet.

comment:4 Changed 11 years ago by bill

Component: DijitDijit - Form
Note: See TracTickets for help on using tickets.