https://jsfiddle.net/ElMeroMero/2e4jmro3/7/
I have an onChange handler on an input[type=number]
that is causing problems because of the input fields strange behaviour: Upon entering the dot before the decimals the value becomes an empty string.
Why is that?
Update:
It seems to be a chrome issue. I tested in the following browsers and there the above behaviour did not occur:
- MacOS, Firefox 83.0 (64-bit)
- MacOS, Safari Version 14.0.1 (15610.2.11.51.10, 15610)
My Chrome Version (MacOS): 86.0.4240.183 (Official Build) (x86_64)