fix: modify currencyDisplay to display the currency code
parent
0122836e02
commit
2628c4e4a8
|
@ -72,7 +72,7 @@ export default {
|
||||||
},
|
},
|
||||||
currencyDisplay: {
|
currencyDisplay: {
|
||||||
type: String,
|
type: String,
|
||||||
default: undefined
|
default: 'code'
|
||||||
},
|
},
|
||||||
useGrouping: {
|
useGrouping: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
|
|
|
@ -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;
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue