Skip to content

Commit 78dbb2c

Browse files
authored
Fix #7780: fixed typo in onPaste callback in InputNumber (#7788)
1 parent eefcc72 commit 78dbb2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/lib/inputnumber/InputNumber.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ export const InputNumber = React.memo(
580580
let filteredData = parseValue(data);
581581

582582
if (filteredData != null) {
583-
if (isFloat(data)) {
583+
if (isFloat(filteredData)) {
584584
const formattedValue = formatValue(filteredData);
585585

586586
inputRef.current.value = formattedValue;

0 commit comments

Comments
 (0)