Easy input of currency formatted numbers for Vue.js.
Vue Currency Input was rewritten in TypeScript and now supports both Vue 2 and Vue 3. 🎉
Vue Currency Input does not provide a ready-to-use component anymore. Instead, it enables you to create your own based on your favorite input component powered by the Vue Composition API.
Please refer to the docs for more information: https://dm4t2.github.io/vue-currency-input/
currencyDisplay
(#209)useGrouping
(#170)autoSign
(#193)<v-text-field>
in Firefox (#175)autoDecimalDigits
is enabled (#202)<currency-input>
component and v-currency
directive are dropped in favor of the useCurrencyInput
composableautoDecimalMode
was renamed to autoDecimalDigits
currency
now only accepts currency ISO codesallowNegative
was removed in favor of the new autoSign
optionvalueAsInteger
was renamed to exportValueAsInteger
distractionFree
was replaced by single options hideCurrencySymbolOnFocus
, hideGroupingSeparatorOnFocus
and hideNegligibleDecimalDigitsOnFocus
currencyDisplay
(#209)distractionFree
was replaced by single options hideCurrencySymbolOnFocus
, hideGroupingSeparatorOnFocus
and hideNegligibleDecimalDigitsOnFocus
decimalDigitsReplacement
was removed again since it does not conform with the ECMAScript Internationalization API and causes issues with RTL locales