Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
crystalfp opened this issue Apr 7, 2024 · 1 comment · Fixed by #19605
Closed

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

crystalfp opened this issue Apr 7, 2024 · 1 comment · Fixed by #19605
Assignees
Labels
C: VNumberInput T: bug Functionality that does not work as intended/expected
Milestone

Comments

@crystalfp
Copy link

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

@crystalfp
Copy link
Author

Note also that at step 5 the resulting 0 is below the minimum value of 0.01

@yuwu9145 yuwu9145 self-assigned this Apr 8, 2024
@yuwu9145 yuwu9145 added T: bug Functionality that does not work as intended/expected C: VNumberInput and removed S: triage labels Apr 15, 2024
@johnleider johnleider added this to the v3.5.x milestone Apr 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: VNumberInput T: bug Functionality that does not work as intended/expected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants