Merge pull request #37 from navedqb/fix--inputnumber-null-fractions

fix: incorrect default value for minFractionDigits when set to null
pull/5819/head
navedqb 2024-06-03 13:24:15 +05:30 committed by GitHub
commit 933e350b2a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -160,8 +160,8 @@ export default {
currency: this.currency, currency: this.currency,
currencyDisplay: this.currencyDisplay, currencyDisplay: this.currencyDisplay,
useGrouping: this.useGrouping, useGrouping: this.useGrouping,
minimumFractionDigits: this.minFractionDigits, minimumFractionDigits: this.minFractionDigits ?? undefined,
maximumFractionDigits: this.maxFractionDigits, maximumFractionDigits: this.maxFractionDigits ?? undefined,
roundingMode: this.roundingMode roundingMode: this.roundingMode
}; };
}, },