Releases: dm4t2/vue-currency-input
Releases · dm4t2/vue-currency-input
2.0.0-beta.0
🎉 This is the 1st pre-release compatible with 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://vue-currency-input-next.netlify.app
Breaking changes
- Vue Currency Input can not be installed as Vue plugin anymore
<currency-input>
component andv-currency
directive are dropped in favor of theuseCurrencyInput
composableautoDecimalMode
option has been renamed toautoDecimalDigits
currency
option only accepts currency ISO codes- UMD/ESM bundles are compiled to ES2015
Features
- move the caret position to the first or last digit when targeting the currency symbol on focus
1.22.3
1.22.2
1.22.1
1.22.0
Features
- simplify usage of API methods
- recover API method for parsing currency formatted strings (#149)
Breaking Changes
getValue
andsetValue
now accept aref
argument that points directly to the HTML element or Vue component thev-currency
directive is bound to. see https://dm4t2.github.io/vue-currency-input/api/- the
native
modifier is no longer required when listing toinput
orchange
events
1.21.0
Features
- simplify API for getting number values
Breaking Changes
parseCurrency
API method is replaced bygetValue
$parseCurrency
instance method is replaced by$ci.getValue