Opened 11 years ago

Closed 10 years ago

#5471 closed enhancement (wontfix)

factor out _Calendar.isSelected()

Reported by: guest Owned by: Adam Peller
Priority: low Milestone: future
Component: Dijit Version: 1.0
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

We do this with disabled dates. I use the calendar to support multiple dates. Using an isDateSelected allows me to override the calendar to decide what is or isn't selected. A simple three line fix would make the calendar much more extensible in a lot of situations.

CLA on file

dojotoolkit@…

Attachments (1)

date.diff (732 bytes) - added by guest 11 years ago.
is selected implimentation

Download all attachments as: .zip

Change History (6)

Changed 11 years ago by guest

Attachment: date.diff added

is selected implimentation

comment:1 Changed 11 years ago by guest

I don't know where supposed came for in the title, "include" is the right word.

comment:2 Changed 11 years ago by Adam Peller

Milestone: 1.0.32.0
Owner: set to Adam Peller

I could be persuaded, but it might help to see a more complete example. How hard is it to implement multiple selections?

Also, I don't think locale is relevant here... is it? With the disabled stuff, cultural conventions may come into play, for example looking up weekend or holiday observations.

comment:3 Changed 11 years ago by Adam Peller

Summary: _Calendar, is it possible to supposed isSelected(date, locale)factor out _Calendar.isSelected()

comment:4 Changed 11 years ago by alex

Milestone: 2.01.3

Milestone 2.0 deleted

comment:5 Changed 10 years ago by bill

Description: modified (diff)
Milestone: 1.3future
Resolution: wontfix
Status: newclosed

Closing for now since no example given.

Note: See TracTickets for help on using tickets.