Vue Currency Input Versions Save

Easy input of currency formatted numbers for Vue.js.

2.3.0

2 years ago

🚀 New Features

  • Add new option valueScaling (replaces deprecated option exportValueAsInteger) (#305)

🐛 Bug Fixes

  • inputRef can not be rendered conditionally (#304)

2.2.0

2 years ago

🚀 New Features

  • Add support for precision range (#261), closes #294

2.1.3

2 years ago

🐛 Bug Fixes

  • Improve detection of decimal/grouping separator (#296)

2.1.2

2 years ago

🐛 Bug Fixes

  • Add null checks (#283)

2.1.1

2 years ago

🐛 Bug Fixes

  • Prevent input of too large numbers

2.1.0

2 years ago

🚀 New Features

  • Introduce new API function parse for parsing currency formatted values (#273)

🐛 Bug Fixes

  • Ignore prefix/suffix in caret position calculation when currencyDisplay is hidden (#274)
  • Prevent caret position from jumping to the end (#268)

2.0.2

2 years ago

📦 Build

  • compile bundle to ES2018 to improve the compatibility (#256, #250, #244, #228)
  • add named export useCurrencyInput

2.0.1

2 years ago

🐛 Bug Fixes

  • handle untrusted input/change events to improve testability (#257)

2.0.0

2 years ago

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/

🚀 New Features

  • Supports both Vue 2 and Vue 3 (#166)
  • Add new option currencyDisplay (#209)
  • Add new option useGrouping (#170)
  • Add new option autoSign (#193)
  • Hide decimal digits for integer numbers by default (#203)
  • Move the caret position to the first or last digit when targeting the currency symbol on focus

🐛 Bug Fixes

  • Prevent entering of non-numeric characters in <v-text-field> in Firefox (#175)
  • Consider precision for determining max allowed input value (#188)
  • Input of decimal separators was broken for Android devices (#190)
  • Allow clearing the input completely with backspace when autoDecimalDigits is enabled (#202)

💥 Breaking Changes

  • Vue Currency Input can not be installed as Vue plugin anymore
  • The <currency-input> component and v-currency directive are dropped in favor of the useCurrencyInput composable
  • Option autoDecimalMode was renamed to autoDecimalDigits
  • Option currency now only accepts currency ISO codes
  • Bundles are compiled to ES2020
  • Option allowNegative was removed in favor of the new autoSign option
  • Option valueAsInteger was renamed to exportValueAsInteger
  • Precision range was dropped in favor of the new precision default behavior (hide decimal digits for integer numbers)
  • Option distractionFree was replaced by single options hideCurrencySymbolOnFocus, hideGroupingSeparatorOnFocus and hideNegligibleDecimalDigitsOnFocus

2.0.0-rc.5

2 years ago

🚀 New Features

  • Add new option currencyDisplay (#209)

🏗 Refactorings:

  • The codebase has been migrated to TypeScript
  • Using Vite & VitePress for local development tooling/docs

💥 Breaking Changes

  • Option distractionFree was replaced by single options hideCurrencySymbolOnFocus, hideGroupingSeparatorOnFocus and hideNegligibleDecimalDigitsOnFocus
  • Option decimalDigitsReplacement was removed again since it does not conform with the ECMAScript Internationalization API and causes issues with RTL locales