Skip to content

Commit

Permalink
Fixed #15772 | InputNumber - MinFractionDigits and MaxFractionDigits …
Browse files Browse the repository at this point in the history
…no longer respect a value of 0
  • Loading branch information
mehmetcetin01140 committed Nov 15, 2024
1 parent a8371c1 commit fbaf913
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/primeng/src/inputnumber/inputnumber.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
};
}

Expand Down

0 comments on commit fbaf913

Please sign in to comment.