Opened 12 years ago
Closed 12 years ago
#8540 closed defect (duplicate)
dojox.widget.Calendar doesn't honor mix/max constraints
Reported by: | danilche | Owned by: | Shane O'Sullivan |
---|---|---|---|
Priority: | high | Milestone: | 1.3 |
Component: | DojoX Widgets | Version: | 1.2.3 |
Keywords: | calendar, constraints | Cc: | |
Blocked By: | Blocking: |
Description
I tried specifying them both at creation, and at runtime; either:
var cal = new dojox.widget.Calendar( {constraints: {min: new Date(2009,2,5), max: new Date(2009,3,3)} }, $("cal") );
or
cal.constraints = { min: new Date(2009,2,10), max: new Date(2009,3,3) };
The Calendar widget itself works fine, it just ignores the mix/max constraints. It doesn't merely fail to grey or cross them out, it lets me click on them too, without any problems.
This manifests in both IE 7 and FF 3.
Change History (3)
comment:1 Changed 12 years ago by
Owner: | changed from dante to Shane O'Sullivan |
---|
comment:2 Changed 12 years ago by
Summary: | dijit.widget.Calendar doesn't honor mix/max constraints → dojox.widget.Calendar doesn't honor mix/max constraints |
---|
comment:3 Changed 12 years ago by
Milestone: | tbd → 1.3 |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
dup of #8544 - which shane opened based on this same thread, though added a patch.
Note: See
TracTickets for help on using
tickets.
does _Calendar have constraints? I thought that was for the DateTextBox? that uses _Cal as a popup?