Skip to content

Commit

Permalink
Fix #3161: InputNumber getInput() ref (#3163)
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware committed Aug 18, 2022
1 parent f19aa88 commit 32d3b49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/lib/inputnumber/InputNumber.js
Expand Up @@ -938,7 +938,7 @@ export const InputNumber = React.memo(React.forwardRef((props, ref) => {
props,
getFormatter,
getElement: () => elementRef.current,
getInput: () => elementRef.current
getInput: () => inputRef.current
}));

React.useEffect(() => {
Expand Down

0 comments on commit 32d3b49

Please sign in to comment.