shevtsovtn-vue-currency-input

Easy input of currency formatted numbers for Vue.js. Added a chageable decimal separator for currency value.
486
Install
npm install shevtsovtn-vue-currency-input
Latest Version:1.1.1
Vue:2 · 3
License:MIT
Last Updated:Feb 9, 2023
Links: npm
Maintainer: shevtsovtn

Codecov npm Version npm Downloads Bundlephobia License

Vue Currency Input

Vue Currency Input allows an easy input of currency formatted numbers based on the ECMAScript Internationalization API (Intl.NumberFormat).

Built on top of the Vue Composition API, it enables you to decorate any input component with currency format capabilities.

Features

  • Turns the input component of your favorite framework (for example Vuetify, Quasar or Element Plus) into a currency input field
  • Supports both Vue 2 and Vue 3
  • Built on standards: Ensures the right locale dependent formatting by using Intl.NumberFormat
  • Unobtrusive input by hiding the formatting on focus
  • Built-in value range validation
  • You can change a decimal separator if add a separator option like string ',/.' (1,00/1.00).

Getting started

Fork from parent project. Please read the guide to get started or check out the playground to see it in action.

Related Packages

vue-currency-input

Easy input of currency formatted numbers for Vue.js.

6,024,826 693
intl-number-input

Easy input of formatted numbers based on the ECMAScript Internationalization API...

112,108 17
@coders-tm/vue-number-format

Easy formatted numbers, currency and percentage with input/directive mask for Vu...

436,576 122
rut-text-mask

A plugin for the wrapper on top of another plugin. All of this to facilitate RUT...

9,326 1

Version History

Version Released Vue License
1.1.1 ^2.7 || ^3.0.0 MIT
1.1.0 ^2.7 || ^3.0.0 MIT
1.0.14 ^2.7 || ^3.0.0 MIT
1.0.13 ^2.7 || ^3.0.0 MIT
1.0.11 ^2.7 || ^3.0.0 MIT