Merge pull request #5819 from qburst/fix--inputnumber-null-fractions

fix: incorrect default value for minFractionDigits when set to null
pull/5863/head
Tuğçe Küçükoğlu 2024-06-10 10:51:21 +03:00 committed by GitHub
commit 9e8402a594
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,
currencyDisplay: this.currencyDisplay,
useGrouping: this.useGrouping,
minimumFractionDigits: this.minFractionDigits,
maximumFractionDigits: this.maxFractionDigits,
minimumFractionDigits: this.minFractionDigits ?? undefined,
maximumFractionDigits: this.maxFractionDigits ?? undefined,
roundingMode: this.roundingMode
};
},