In this Solid Playground snippet, I have set up a number field based on the Controlled Value example from the docs, with a starting value of 40, but with a step size of 0.1.
To Reproduce
Click the increment button - the value changes to 40.1 (correct)
Click the increment button again - the values changes to 41 (incorrect, expected 40.2)
Click the decrement button - the value changes to 40.9 (correct)
Click the decrement button again - the values changes to 40 (incorrect, expected 40.8)
I have observed the same issue when using the up/down arrows as well.
Tested on Chrome 126, Firefox 128 and Safari 17 on Mac
In this Solid Playground snippet, I have set up a number field based on the Controlled Value example from the docs, with a starting value of 40, but with a step size of 0.1.
To Reproduce
I have observed the same issue when using the up/down arrows as well.
Tested on Chrome 126, Firefox 128 and Safari 17 on Mac