Skip to content

Commit

Permalink
fix(VNumberInput): fix behavior with float step
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix Bauchinger committed Apr 20, 2024
1 parent f0f0fa0 commit 0ae57b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vuetify/src/labs/VNumberInput/VNumberInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export const VNumberInput = genericComponent<VNumberInputSlots>()({
inputRef.value?.stepDown()
}

if (inputRef.value) model.value = parseInt(inputRef.value.value, 10)
if (inputRef.value) model.value = parseFloat(inputRef.value.value)
}

function onClickUp () {
Expand Down

0 comments on commit 0ae57b2

Please sign in to comment.