Opened 5 years ago

Last modified 4 years ago

#18882 new defect

NumberTextBox does not properly handle percent type

Reported by: fmoe Owned by:
Priority: undecided Milestone: 1.14
Component: Dijit Version: 1.11.2
Keywords: Cc:
Blocked By: Blocking:


Setting the NumberTextBox? constraint to {type:'percent'} will cause it to display the fractional numbers correctly as percentages but will now allow a user to type in a fractional number. You can work around this by setting places to 2 or a similar value. However, this causes the text box to display the percentage with trailing zeros after the decimal.

Change History (2)

comment:1 Changed 5 years ago by dylan

Milestone: tbd1.13

comment:2 Changed 4 years ago by dylan

Milestone: 1.131.14
Note: See TracTickets for help on using tickets.