diff --git a/components/lib/inputnumber/InputNumber.js b/components/lib/inputnumber/InputNumber.js index a6e10423bb..43f36f8a05 100644 --- a/components/lib/inputnumber/InputNumber.js +++ b/components/lib/inputnumber/InputNumber.js @@ -58,8 +58,8 @@ export const InputNumber = React.memo( currency: props.currency, currencyDisplay: props.currencyDisplay, useGrouping: props.useGrouping, - minimumFractionDigits: props.minFractionDigits, - maximumFractionDigits: props.maxFractionDigits, + minimumFractionDigits: props.minFractionDigits ?? undefined, + maximumFractionDigits: props.maxFractionDigits ?? undefined, roundingMode: props.roundingMode }; };