Opened 12 years ago

Closed 12 years ago

Last modified 9 years ago

#10362 closed defect (fixed)

[regression] NumberTextBox formatting error

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


Run test_Spinner.html.
Go to the 3rd Spinner (no value) and enter 1.23999999 and TAB away.
The value should be 1.24 but is 1.240000.
This worked correctly in 1.3.2.

Change History (3)

comment:1 Changed 12 years ago by Douglas Hays

Resolution: fixed
Status: newclosed

(In [20848]) Fixes #10362. NumberTextBox? constraints object was being munged by internal dojo.number method. Added automated test.

comment:2 Changed 11 years ago by bill

Component: DijitDijit - Form

comment:3 Changed 9 years ago by bill

In [30579]:

Use lang.delegate() rather than lang.mixin(), both for efficiency and to avoid spuriously triggering custom getters in "this". Refs #10362, #11889, #16693 !strict.

Note: See TracTickets for help on using tickets.