fix: Number input defaults to 0 not allowing to have arbitrary precision (#10021)

This commit is contained in:
Michael Kret
2024-07-12 12:42:09 +03:00
committed by GitHub
parent 7db16561dc
commit e4e66ab7da

View File

@@ -14,7 +14,7 @@ type InputNumberProps = {
const props = withDefaults(defineProps<InputNumberProps>(), {
size: undefined,
step: 1,
precision: 0,
precision: undefined,
min: -Infinity,
max: Infinity,
});