autoNumeric prefixes 0 to the amount
See original GitHub issueautoNumeric prefixes 0 to the amount in some instances.
All the amount values have the same class that is being used to init autoNumeric from JS.
$(".dollar_value").autoNumeric('init', { aSign: '$' })
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
autoNumeric/Documentation.md at next - GitHub
During page load / re-load autoNumeric compares the value of the input "$this[0].value" and the "$this.prop('defaultValue')" value. If they are equal and " ......
Read more >autoNumeric - Decor Plan it
autoNumeric 1.9.41 is a jQuery plugin that automatically formats currency and numbers as you type on form inputs.
Read more >Easy Number and Currency Formatting Library - autoNumeric
autoNumeric is a useful JavaScript library for international currency formatting as well as numbers formatting.
Read more >Solved: Autonumber field with a prefix being the value fro...
Solved: I have the following fields in my Invoice Items entity. Name (set to autonumber, I mainly ignore this field) Invoice reference ...
Read more >Autonumeric Input Widget — autonumericInput • shinyWidgets
Defaults to TRUE. decimalPlaces. Defines the default number of decimal places to show on the formatted value, and keep for the precision. Must...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It looks that version is quite behind:
https://github.com/randoum/autonumeric-rails
You could try doing it without that gem and seeing if it still happens. If it only happens when using aN via the gem, the issue should be opened with that fork.
Thanks Ray for your help and answers
vandamon - I suggest that you contact randoum and see if he will update.