AlexandreBonneau on next
Update the readme with the new … (compare)
Hello! I'm trying to use the 'change' event, as I see that Vue AutoNumeric supports it, but it's not working, the event is not called.
<vue-autonumeric v-model="Produto.PrecoFob" v-on:change="atualizarCalculos"></vue-autonumeric>
If I use 'input' event, it is called.
What can I do to make change event work?
0included in that range? Do you have a codepen that shows the behavior you are describing?
let myVal = an.getNumericString()
new AutoNumeric('selector')will initialize only the very first element it finds with that selector
Hello @AlexandreBonneau , how are you?
I am currently using the plugin in a Blazor solution.
I have configured it so that the digitGroupSeparator is dot "." and the decimalCharacter is comma "," with two decimal places. Example: "1.000,50".
I have a problem when using the binding provided by Blazor, because numbers on the server are dotted as a decimal, like "1000.50".
When the plugin initializes, it works fine allowing me to enter for example "1.000,50", but when having applied this initialization format to the control, Blazor wants to apply a number like "1000.50", the text box remains as "100.050,00".
Do I have a solution for this behavior? I really need it to be displayed with comma decimal separator and I can't use Jquery to set the values because I need to use blazor.
Thank you very much and apologies in advance for my terrible English.
hi, im using the autonumeric plugin in a .net Blazor App. I have an issue when submitting the form, the plugin SOMETIMES resets the value to the previous value.
If i don't use autonumerics it works well with a normal input.
This only happens when the form is submitted withouth loosing focus.
But it happens like 1 o 20 times.
I tried a lot of fixes no one worked..
decimalPlacesis set to 2.
12.2, we want it to be formatted to