Opened 14 years ago

Last modified 14 years ago

#3968 closed defect

parser.js sends fromISOString invalid ISO string — at Initial Version

Reported by: haysmark Owned by: bill
Priority: high Milestone: 0.9
Component: Parser Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description

The parser evaluates this DateTextbox?:

<input id="q14" type="text" dojoType="dijit.form.DateTextbox" value="">

value is of type Date in DateTextbox?, so in str2obj falls into the Date case. However, "" is not a valid ISO date string.

The effect is parser puts a date into the DateTextbox? when the dojo user expects the text box (and ISO string) to be blank. Just make parser keep the "" for Date objects.

Change History (0)

Note: See TracTickets for help on using tickets.