Skip to content

Commit

Permalink
Merge pull request #37 from navedqb/fix--inputnumber-null-fractions
Browse files Browse the repository at this point in the history
fix: incorrect default value for minFractionDigits when set to null
  • Loading branch information
navedqb authored Jun 3, 2024
2 parents 53ea90b + 8203539 commit 933e350
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/lib/inputnumber/InputNumber.vue
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ export default {
currency: this.currency,
currencyDisplay: this.currencyDisplay,
useGrouping: this.useGrouping,
minimumFractionDigits: this.minFractionDigits,
maximumFractionDigits: this.maxFractionDigits,
minimumFractionDigits: this.minFractionDigits ?? undefined,
maximumFractionDigits: this.maxFractionDigits ?? undefined,
roundingMode: this.roundingMode
};
},
Expand Down

0 comments on commit 933e350

Please sign in to comment.