Opened 14 years ago

Closed 14 years ago

#6428 closed task (invalid)

CurrencyTextBox: add trailing 0s by default

Reported by: bill Owned by: Adam Peller
Priority: high Milestone: 1.2
Component: Dijit - LnF Version: 1.1.0
Keywords: ibm Cc:
Blocked By: Blocking:


CurrencyTextBox has an option to add trailing zeros, see euro example in

Would be nice to make this the default.

US currency example on that page is confusing because if you type in "123" and tab away you'd expect it to convert to "123.00" but instead it turns yellow.

Taken from IBM Design Leadership recommendations.

Change History (1)

comment:1 Changed 14 years ago by Adam Peller

Resolution: invalid
Status: newclosed

I think we do this by default.

The US$ case uses the constraint fractional:true, in other words, require cents. Whole values are an error.

By default, the cents are optional, which is how the Euro samples are set up.

Note: See TracTickets for help on using tickets.