Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jul 15 13:32
    JeroenKocyigit commented #668
  • Jul 10 10:28
    OberstVilla commented #573
  • Jul 10 10:27
    OberstVilla commented #573
  • Jul 10 09:06
    AlexandreBonneau commented #573
  • Jul 10 09:02
    AlexandreBonneau edited #715
  • Jul 09 14:23
    OberstVilla commented #573
  • Jul 09 01:40
    OberstVilla commented #573
  • Jul 08 08:28
    Nikolay-Borzov-EPAM commented #659
  • Jul 07 21:52
    AlexandreBonneau commented #716
  • Jul 07 21:52
    AlexandreBonneau closed #684
  • Jul 07 21:52

    AlexandreBonneau on next

    Fix #684 caret always set far r… (compare)

  • Jul 07 21:52
    AlexandreBonneau closed #716
  • Jul 06 22:16
    matthewthomsonnz opened #716
  • Jul 01 08:48
    konojack edited #715
  • Jul 01 08:45
    konojack edited #715
  • Jul 01 08:44
    konojack opened #715
  • Jun 08 16:40
    o-alquimista edited #714
  • Jun 08 16:31
    o-alquimista edited #714
  • Jun 08 15:24
    o-alquimista opened #714
  • Jun 01 17:54
    DiegoOrejuela commented #659
oscaroxy
@oscaroxy
I thank you again for the reply, I'll continue to use autoNumeric, now with version 4 :-)
Alexandre
@AlexandreBonneau
you are welcome @oscaroxy
Takumi07
@Takumi07

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.

Matías Pablo Bordoy
@MatiasBordoy

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..

Alexandre
@AlexandreBonneau
@Takumi07 Which options are you using for initializing your AutoNumeric elements?
I never used Blazor myself, so I'm not versed in how it works internally. However from what you are describing, Blazor tries to control the input, which you should not allow. Perhaps do not declare the input as a number input so that Blazor do not touch it?
@MatiasBordoy hey, weirdly I never heard of blazor until now, and you both are asking question about it here :)
Would you have a reproducible test case?
Guobacai
@Guobacai
Hello,
I have a use case that the padding is set to true and the decimalPlaces is set to 2.
When user inputs 12.2, we want it to be formatted to 12.20.
But, it could also allow users to input decimal numbers more than 2. for example: 12.232.
I couldn't find an official way to do so. So, I think I can get user's input and reset the setting decimalPlaces.
However, I can't find a good way to get 12.232 instead of 12.23.
Is there any way that I could get user's raw input?
Guobacai
@Guobacai
Or, is there any way I can get user's raw input and decide how the number should be formatted?
chusmsanchez
@chusmsanchez
Hello, I am using autonumeric.js but I have detected that using an iPad iOS 9.x (it is not possible to update), the plugin does not work and if there are javascript codes they do not run. Does anyone know any solutions?
GregoryPardini
@GregoryPardini
Hi, I found a bug with auto numeric. If the mouse goes on an input, the input value is clear. I have a site of example
Alexandre
@AlexandreBonneau
@GregoryPardini Which configuration do you use?
耗砸
@haoza
hello
I have a doubt, please help me,thanks
http://autonumeric.org/guide#decimalPlaces
How to achieve this rounding effect in the document, I tried many configurations without success. I also looked at the source code, but I didn't understand it. Can you tell me how to achieve it? It would be great if there is sample code Thank you for your time.
Sincerely,
@AlexandreBonneau
Alexandre
@AlexandreBonneau
@haoza hey
What are you trying to achieve exactly?
耗砸
@haoza
Rounding of decimal places
Alexandre
@AlexandreBonneau
耗砸
@haoza
Like this example
Alexandre
@AlexandreBonneau
when you select the decimal places you want, you'll be able to test it at the top of the page, and then the configuration to achieve that result will be displayed as well
耗砸
@haoza
I tried, but it didn't work
Alexandre
@AlexandreBonneau
What are you trying to achieve exactly?
please link to a codepen so when can help you
耗砸
@haoza
I just want the last decimal place to be automatically rounded
耗砸
@haoza
image.png
How to configure similar screenshot effects
This is what i want
thanks
@AlexandreBonneau
Alexandre
@AlexandreBonneau
@haoza could you please create a codepen with what you tried already?
耗砸
@haoza
I have edited
耗砸
@haoza
@AlexandreBonneau I edited
Alexandre
@AlexandreBonneau
do you have the link?
(when you hit 'save', it should have created a new url for you)
耗砸
@haoza
@AlexandreBonneau
Let me ask another way, just by passing in the configuration items in new AutoNumberic, can the effect of the http://autonumeric.org/guide#decimalPlaces example be achieved
My doubt is that I can't achieve this effect through configuration, so I can't give you sample code
Jarciano Silva
@jarciano

Hello everyone,
I made a request for a nice feature (AutoNumeric - RTL (right-to-left script) who could help me? I believe it is something magical for the Brazilian community.

autoNumeric/autoNumeric#694

Thank you all for the attention.

bohoirup
@bohoirup
Is there any way to include Autonumeric in my .net core 3 project forcing to ES5 ? I keep getting this error "ReferenceError: Can't find variable: Map", and I think it is because our PDF creator only supports up to ES5
Alexandre
@AlexandreBonneau
@haoza sorry for the delay, I'm swamped at work and I think I'll be able to work on AutoNumeric again only in march. Anyway, if I understand you correctly, you want live rounding while typing, right?
this can't be achieved with a single autonumeric field; in the example you mention, it works like that because there are other fields with less decimal places
@jarciano your issue is interesting, however I won't be able to look at it for a while (see upper comment). Sorry
Alexandre
@AlexandreBonneau
@bohoirup have you tried importing the built library (which is converted into es5 by babel), instead of the src/AutoNumeric.js file?
OberstVilla
@OberstVilla
It has been incredibly frustrating to convert from the 'old style' autonumeric to the new one. As mentioned somewhere else, the distributed version (via CDN) does somehow NOT expose certain static methods, like getNumber. So I tried to include a local copy, but that doesn't load properly, complaining about not being able to load the Helper etc. How do i get around that one?
OberstVilla
@OberstVilla
To answer my own question: Load the library from here: https://unpkg.com/autonumeric. At least it now loads properly.