diff --git a/packages/primevue/src/inputnumber/BaseInputNumber.vue b/packages/primevue/src/inputnumber/BaseInputNumber.vue index b432bb99e..8c9eb8ac1 100644 --- a/packages/primevue/src/inputnumber/BaseInputNumber.vue +++ b/packages/primevue/src/inputnumber/BaseInputNumber.vue @@ -72,7 +72,7 @@ export default { }, currencyDisplay: { type: String, - default: 'code' + default: undefined }, useGrouping: { type: Boolean, diff --git a/packages/primevue/src/inputnumber/InputNumber.d.ts b/packages/primevue/src/inputnumber/InputNumber.d.ts index 150b46809..13a0bedc6 100755 --- a/packages/primevue/src/inputnumber/InputNumber.d.ts +++ b/packages/primevue/src/inputnumber/InputNumber.d.ts @@ -264,7 +264,7 @@ export interface InputNumberProps { 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'. - * @defaultValue code + * @defaultValue symbol */ currencyDisplay?: string | undefined; /**