Skip to content

Commit

Permalink
Explicitly null fraction boundaries work the same as undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
robGardiner01 committed May 22, 2024
1 parent f4f081c commit fa3d941
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/components/inputnumber/inputnumber.ts
Original file line number Diff line number Diff line change
Expand Up @@ -558,8 +558,8 @@ export class InputNumber implements OnInit, AfterContentInit, OnChanges, Control
currency: this.currency,
currencyDisplay: this.currencyDisplay,
useGrouping: this.useGrouping,
minimumFractionDigits: this.minFractionDigits,
maximumFractionDigits: this.maxFractionDigits
minimumFractionDigits: this.minFractionDigits ? this.minFractionDigits : undefined,
maximumFractionDigits: this.maxFractionDigits ? this.maxFractionDigits : undefined
};
}

Expand Down

0 comments on commit fa3d941

Please sign in to comment.