Opened 10 years ago

Closed 10 years ago

Last modified 8 years ago

#9152 closed defect (fixed)

DateTextBox .value is blank instead of null

Reported by: Douglas Hays Owned by: Douglas Hays
Priority: high Milestone: 1.3.1
Component: Dijit - Form Version: 1.3.0
Keywords: Cc:
Blocked By: Blocking:

Description

If a DateTExtBox has no value entered, then attr('value') returns null but widget.value returns "". This is different than 1.2 and is likely to cause backcompat problems.

Attachments (1)

9152.patch (1.3 KB) - added by Douglas Hays 10 years ago.
Allow widgets to specify a custom value for when the displayed value is blank

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by Douglas Hays

Attachment: 9152.patch added

Allow widgets to specify a custom value for when the displayed value is blank

comment:1 Changed 10 years ago by Douglas Hays

(In [17332]) References #9152 (1.3.1) !strict. Add a widget-specific blank value for Date/TimeTextBox?.

comment:2 Changed 10 years ago by Douglas Hays

Resolution: fixed
Status: newclosed

[17336] Fixes #9152 (trunk) !strict. Add a widget-specific blank value for Date/TimeTextBox? and modified unit-test.

comment:3 Changed 8 years ago by bill

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