Open
Description
Environment
https://ui.nuxt.com/components/input-number#step
Is this bug related to Nuxt or Vue?
Vue
Version
v3.1.3
Reproduction
- If
step = 2
and I manually set thevalue = 3
, the input automatically adjusts the value to4
(nearest multiple of 2). - If I change the
step = 3
and manually set thevalue = 5
, the input automatically adjusts it to6
(nearest multiple of 3).
Description
https://ui.nuxt.com/components/input-number#step
- The step should only control the step size when increasing or decreasing the value.
- If I set the
value = 3
withstep = 2
, the increments should go as3, 5, 7, 9, ...
and decrements should go as3, 1, -1, -3, ...
- The component should not force the value to the nearest multiple of the step.
Additional context
No response