}) => {
setUserInput(getUserInput(value));
- const newValue = formatToNumber(value, {
+ const newValue = formatUnCompleteNumber(value, {
decimalPlaces: props.decimalPlaces,
largeNumber: props.largeNumber,
});
diff --git a/test/snap/__snapshots__/csr.test.jsx.snap b/test/snap/__snapshots__/csr.test.jsx.snap
index a6074c0d0..3588805d5 100644
--- a/test/snap/__snapshots__/csr.test.jsx.snap
+++ b/test/snap/__snapshots__/csr.test.jsx.snap
@@ -120305,7 +120305,7 @@ exports[`csr snapshot test > csr test src/input-number/_example/center.jsx 1`] =
@@ -120510,7 +120510,7 @@ exports[`csr snapshot test > csr test src/input-number/_example/center.jsx 1`] =
@@ -120942,6 +120942,7 @@ exports[`csr snapshot test > csr test src/input-number/_example/format.jsx 1`] =
>