Opened 10 years ago

Closed 10 years ago

Last modified 9 years ago

#10080 closed defect (fixed)

CurrencyTextBox problems

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

Description

CurrencyTextBox? has problems: 1) If the currency symbol is entered, then isValid() is returning false while focus is still in the textbox
2) switching back and forth from ($123.45) and -123.45 is flagged as an error.
Both problems are related to the currency parse method unable to handle decimal formatting and vis-a-versa.

Change History (4)

comment:1 Changed 10 years ago by Douglas Hays

Component: GeneralDijit
Status: newassigned

comment:2 Changed 10 years ago by Douglas Hays

Resolution: fixed
Status: assignedclosed

(in [20521]) Fixes #10080. Changed CurrencyTextBox? editing to be bipolar. It can accept default currency formatted numbers or default NumberTextBox? values since some users prefer decimal input, but the non-focused value will remain in currency format. Added several automated tests in robot/test_validate.html.

comment:3 Changed 10 years ago by bill

(In [20664]) Fix test timing condition on IE6, refs #10080.

comment:4 Changed 9 years ago by bill

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