Opened 13 years ago

Closed 12 years ago

#2458 closed defect (fixed)

DropdownDatePicker: improper implementation

Reported by: rheaghen@… Owned by: bill
Priority: high Milestone: 0.9
Component: Dijit Version: 0.4.1
Keywords: DropDownDatePicker Cc: rheaghen@… tk
Blocked By: Blocking:

Description

the Dojo DropdownDatePicker? example uses a div tag to implement the date picker.

the example should be changed to use an input tag to degrade gracefully according to the Dojo Philosophy.

Additionally, by the time the widget has manifested itself in the document, the original input tag should have been recycled, or remained in the document; allowing the author to define events in a typical fashion. if nothing else, the widget should stash the user defined, or legacy event, and the supplementing event function should call that legacy function at the end of its call.

what prompted this was my attempt to add an onchange event to validate that an end date was prior to a start date; finding myself disappointed to see my original events stripped off of my input box. I shouldn't have to write extra javascript to accommodate Dojo for a previously simple task.

Change History (3)

comment:1 Changed 13 years ago by alex

Milestone: 0.4.20.9
Priority: highnormal
severity: majornormal

PLEASE do not file bugs against impending releases with inflated importance and priority settings. We'll triage them to the correct level.

comment:2 Changed 13 years ago by tk

Cc: rheaghen@… added; rheaghen@… removed

How about a test case, your explanation is rather wordy and not the simplest thing to follow... a test case showing the pre-dojo version that works and the post dojo not working version would be nice.

comment:3 Changed 12 years ago by bill

Component: WidgetsDijit
Resolution: fixed
Status: newclosed

This is all fixed with DateTextBox? in the Dijit release.

Note: See TracTickets for help on using tickets.