Skip to content

[Bug Report][4.1.3] VNumberInput : precision="null" truncates to 3 decimal places instead of allowing unrestricted precision #22990

Description

@ryangrosso-cl

Environment

Vuetify Version: 4.1.3
Vue Version: 3.5.39
OS: Windows

Steps to reproduce

  1. Using a v-number-input with precision null and the initial v-model set to 1234.1234.
  2. Focus the input and click outside the input to unfocus
  3. Both the VNumberInput displayed value and the underlying value are incorrect

Expected Behavior

Initial value is set to 1234.1234. After focusing and unfocusing the value is still 1234.1234.

Actual Behavior

On mount the value displayed in the UI is incorrectly showing 1234.123. The underlying value is correct 1234.1234.

After focusing and unfocusing the value becomes incorrect and the display value in the input UI remains incorrect as 1234.123.

Reproduction Link

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

Metadata

Metadata

Assignees

Labels

C: VNumberInputT: bugFunctionality that does not work as intended/expectedT: regressionSomething that used to work but we broke

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions