Opened 7 years ago

Closed 3 years ago

#14301 closed defect (worksforme)

DateTextBox input two digit number as year will appear NaN-NaN-0NaN

Reported by: SeaAndHill Owned by: dante
Priority: high Milestone: 1.11
Component: DojoX Form Version: 1.6.1
Keywords: DateTextBox NaN-NaN-0NaN Cc:
Blocked By: Blocking:

Description

Hi,

I am using DateTextBox? of library 1.6.1 ,but i maybe find a defect.

I set the datePattern is "dd-MM-yyyy", and for example i input "21-11-20" with keyboard ,When the focus move away ,it will appear NaN-NaN-0NaN in the input field. And i have fix the defect by modify the _setValueAttr funtion and works ok.

Attachments (2)

Bug.jpg (6.5 KB) - added by SeaAndHill 7 years ago.
the screenshot with bug
Dojo_DateTextBox.html (1.1 KB) - added by SeaAndHill 7 years ago.
the html source

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by SeaAndHill

Attachment: Bug.jpg added

the screenshot with bug

Changed 7 years ago by SeaAndHill

Attachment: Dojo_DateTextBox.html added

the html source

comment:1 Changed 7 years ago by bill

Milestone: tbd

comment:2 Changed 3 years ago by dylan

Milestone: tbd1.11
Resolution: worksforme
Status: newclosed

I'm pretty sure this was fixed elsewhere. If still an issue, please re-open.

Note: See TracTickets for help on using tickets.