You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
another small missing feature is that, yes we can pass the number not formatted on form submit, but we cannot get anyway the number typed in normal format!
Example:
€ 1.000,50 => get 1000.5
thanks
The text was updated successfully, but these errors were encountered:
Thanks for reporting this issue, however with the few information you gave us, we are not able to correctly reproduce it.
Could you please create a reproducible test case so we can fix your bug?
Thanks for reporting this issue, however with the few information you gave us, we are not able to correctly reproduce it.
Could you please create a reproducible test case so we can fix your bug?
Hi @AlexandreBonneau , sorry here more details.
AutoNumeric is able to give a typed number as formatted with a currency.
Example: I type 1000.5 and it returns € 1.000,5 => OK
But I have already the € 1.000,5 into input like this:
<input type="text" class="form-control amount_format" name="amount" value="1.000,5">
And AutoNumeric loaded like this:
$(document).ready(function() { var autoNumericInstance = new AutoNumeric('.amount_format', { decimalCharacter: ',', decimalCharacterAlternative: '.', digitGroupSeparator: '.', unformatOnSubmit: true, }); });
Is there a way with AutoNumeric to get the rough value 1000.5 from the above input?
I'm sorry I have a hard time understanding what is your problem/question.
And since you did not create a reproducible test case, it's hard to draw any conclusion.
I've tried creating one from your previous post, but again I'm not sure exactly what you are trying to achieve.
As you can see in the extensive documentation, there are many get*() functions available.
Hi @AlexandreBonneau ,
another small missing feature is that, yes we can pass the number not formatted on form submit, but we cannot get anyway the number typed in normal format!
Example:
€ 1.000,50 => get 1000.5
thanks
The text was updated successfully, but these errors were encountered: