diff --git a/packages/primeng/src/inputnumber/inputnumber.ts b/packages/primeng/src/inputnumber/inputnumber.ts index 4c766c6a13a..6afbed7844f 100644 --- a/packages/primeng/src/inputnumber/inputnumber.ts +++ b/packages/primeng/src/inputnumber/inputnumber.ts @@ -590,8 +590,8 @@ export class InputNumber extends BaseComponent implements OnInit, AfterContentIn currency: this.currency, currencyDisplay: this.currencyDisplay, useGrouping: this.useGrouping, - minimumFractionDigits: this.minFractionDigits, - maximumFractionDigits: this.maxFractionDigits + minimumFractionDigits: this.minFractionDigits ?? undefined, + maximumFractionDigits: this.maxFractionDigits ?? undefined }; }