Opened 14 years ago
Closed 14 years ago
#1694 closed defect (fixed)
date not updating in DropdownDatePicker when startDate is used
Reported by: | tk | Owned by: | tk |
---|---|---|---|
Priority: | high | Milestone: | 0.9 |
Component: | General | Version: | 0.4 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
test case #1 in test_DropdownDatePicker.html displays this
Change History (8)
comment:1 Changed 14 years ago by
Milestone: | 0.4.1 → 0.5 |
---|---|
Version: | 0.3 → 0.4 |
comment:2 Changed 14 years ago by
comment:3 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
(In [7138]) references Changeset #7108 fixes #1694 this patch cleans up the CSS of DatePicker? to fix naming consistency and also fixed a problem with the selected date not highlighting.
comment:4 Changed 14 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
this appears to have regressed?
comment:5 Changed 14 years ago by
where?
http://archive.dojotoolkit.org/nightly/tests/widget/test_DropdownDatePicker.html
works fine... first example....
comment:6 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
comment:7 Changed 14 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Confirm this behaviour in 0.4.1 and 0.4.2, e.g: <input name="validTil" dojoType="dropdowndatepicker" widgetId="validTil" containerToggle="explode"> works, while <input name="validTil" dojoType="dropdowndatepicker" widgetId="validTil" containerToggle="explode" startDate="2006-10-10"> will not work (despite the working example, I can copy and paste the source code and it will not work in a new html page). When the form is viewed at with the web developer extension for firefox, using Form->View Form Details, it appears as if the named control holds the correct value, but is hidden except for the button to open the date picker, and an unnamed form field is created and displayed, but it's value is empty. Sorry if I am reopening resolved issues, but in case there is a resoltion for this behaviour, it needs to be documented.
comment:8 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Next time, try trunk. No where does this ticket claim it was fixed in 0.4.2 and if you are reopening a ticket, you should provide contact information as well.
The comparison on line 180 of DropdownDatePicker?.js function _updateText() appears to be faulty
is always true for startDates after 1. Jan. 1970 (this.value is null)
Possible fix: