sansanbgl / jquery-formatcurrency

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

Non-numbers,non-dot,non-dash problem #20

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Steps to reproduce
------------------
1. Let the input element clear by re-visit the page or simply press "Esc" 
character
2. Enter any character but numbers or dot(.) or dash (-) For example "jqu 
ERY_+=\|`~" and 'ro CKS <>?/, *&^%#@!'
3. Also applicable for copy-paste

Expected Output/Actual Output
-----------------------------
The expected output should be Rp. 0 (for regional id-ID) or $0 (default), but 
the actual output is exactly equals to what i type

Version & Platform
-------------------
1.4.0 minified along with regional id-ID pack, Windows XP SP2, Firefox 3.6.6

Notes
-----
Also reproduced in 
http://bendewey.com/code/formatcurrency/demo/format_as_you_type.html at 
formatWhileTypingAndWarnOnDecimalsEntered2 and 
formatWhileTypingAndWarnOnDecimalsEntered element to be precise. See attachment

Original issue reported on code.google.com by janc...@gmail.com on 8 Jul 2010 at 1:12

Attachments:

GoogleCodeExporter commented 8 years ago
This fix for this has been committed to the trunk.  This will be included in 
the next release.

Original comment by bdewe...@hotmail.com on 10 Jul 2010 at 11:51

GoogleCodeExporter commented 8 years ago
Thanks for quick response Ben.
I hope it didn't ruin your weekend :)

Now i have implemented the patch in my minified version and it works.
I think the issue has been resolved and should be closed

Original comment by janc...@gmail.com on 12 Jul 2010 at 1:43