Skip to content

[Bug Report][3.5.14] VNumericInput: Step down does not honor step value #19558

Closed
@crystalfp

Description

Environment

Vuetify Version: 3.5.14
Vue Version: 3.4.21
Browsers: Chrome 123.0.0.0
OS: Windows 10

Steps to reproduce

  1. Increment/decrement using step buttons works correctly
  2. Now manually enter 1 in the field.
  3. Incrementing using button works and show 1.01, 1.02, ...
  4. Now decrement using button till reaching 1: 1.02, 1.01, 1
  5. Now decrement one more. I expect to have 0.99 Instead I have 0
  6. Put 2.02 in the field.
  7. Decrement with the button. I expect to have 2.01 Instead I have 2
  8. Decrement again. I expect 1.99 instead I have 1

Expected Behavior

Also decrement button should honor step

Actual Behavior

If I enter any value it is decremented to the next whole number.

Reproduction Link

https://play.vuetifyjs.com/#...

Metadata

Assignees

Labels

C: VNumberInputT: bugFunctionality that does not work as intended/expected

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions