sansanbgl / jquery-formatcurrency

Automatically exported from code.google.com/p/jquery-formatcurrency
GNU General Public License v3.0
0 stars 0 forks source link

colorize false breaks format as you type #44

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. using the example provided here: 
http://www.bendewey.com/code/formatcurrency/demo/format_as_you_type.html
Change the line
default: $(this).formatCurrency({ colorize: true, negativeFormat: '-%s%n', 
roundToDecimalPlace: -1, eventOnDecimalsEntered: true });
to 
default: $(this).formatCurrency({ colorize: false, negativeFormat: '-%s%n', 
roundToDecimalPlace: -1, eventOnDecimalsEntered: true });

What is the expected output? What do you see instead?
Expected a formatted number as you type. 
Instead typing new digits does change the number displayed. 
eg. typing 546 results in $5

Version 1.4.0
OS : Windows 8

Original issue reported on code.google.com by blosg...@gmail.com on 17 Mar 2014 at 1:21

GoogleCodeExporter commented 8 years ago
please delete or ignore defect.
i think it had to do with eventOnDecimalsEntered

Original comment by blosg...@gmail.com on 17 Mar 2014 at 1:25