diff --git a/components/lib/inputnumber/InputNumber.js b/components/lib/inputnumber/InputNumber.js index d9aba34edb..8ec9bb32c0 100644 --- a/components/lib/inputnumber/InputNumber.js +++ b/components/lib/inputnumber/InputNumber.js @@ -510,7 +510,7 @@ export const InputNumber = React.memo( }; const allowMinusSign = () => { - return props.min === null || rootProps.min === null || props.min < 0; + return props.min === null || rootProps.min === null || props.min < 0; }; const isMinusSign = (char) => {