fix: modify currencyDisplay to display the currency code

pull/6540/head
KumJungMin 2024-10-08 20:26:01 +09:00
parent 0122836e02
commit 2628c4e4a8
2 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ export default {
}, },
currencyDisplay: { currencyDisplay: {
type: String, type: String,
default: undefined default: 'code'
}, },
useGrouping: { useGrouping: {
type: Boolean, type: Boolean,

View File

@ -264,7 +264,7 @@ export interface InputNumberProps {
currency?: string | undefined; currency?: string | undefined;
/** /**
* How to display the currency in currency formatting. Possible values are 'symbol' to use a localized currency symbol such as , 'code' to use the ISO currency code, 'name' to use a localized currency name such as 'dollar'. * How to display the currency in currency formatting. Possible values are 'symbol' to use a localized currency symbol such as , 'code' to use the ISO currency code, 'name' to use a localized currency name such as 'dollar'.
* @defaultValue symbol * @defaultValue code
*/ */
currencyDisplay?: string | undefined; currencyDisplay?: string | undefined;
/** /**