Skip to content

Releases: dm4t2/vue-currency-input

1.6.0

24 Jun 20:56
Compare
Choose a tag to compare

Features

  • add IE11 support

Bug Fixes

  • directive does not apply global options

Build

  • optimize bundles
    • replace CommonJS/IIFE bundle with UMD bundle
    • use render function for component to reduce bundle size
    • transpile ES2015 code in ESM bundle

1.5.1

30 May 22:59
Compare
Choose a tag to compare

Bug Fixes

  • remove "browser" field from package.json, closes #13

1.5.0

30 May 22:47
Compare
Choose a tag to compare

Bug Fixes

  • initial value formatting, closes #12

Build

  • use Rollup for bundling
    • provide ES module bundle
    • improve bundle sizes dramatically
    • externalize dependencies

1.4.1

15 May 21:07
Compare
Choose a tag to compare

Bug Fixes

  • rollback to the v-model default behavior using the input event, closes #10

1.4.0

08 May 08:31
Compare
Choose a tag to compare

Features

  • introduce global options to allow override of default options
  • add $parseCurrency method to get number value from currency formatted string, closes #9
  • improve event handling
    • change internal input event name to 'value-change' since 'change' is already fired on blur
    • consider also custom event listeners registered on the component
    • fix timing problem when formatting the initial value

1.3.2

17 Apr 20:27
Compare
Choose a tag to compare

Bug Fixes

  • manually entered decimal digits causes broken formatting with distraction free mode enabled, closes #8

1.3.1

04 Apr 20:34
Compare
Choose a tag to compare

Bug Fixes

  • float numbers are incorrectly handled for some locales, closes #6

1.3.0

30 Mar 23:32
Compare
Choose a tag to compare

Features

  • apply number range validation optionally on input
  • improve error handling

Bug Fixes

  • suffixed currency symbol disappears when deleting chars

1.2.0

10 Mar 13:16
Compare
Choose a tag to compare

Features

  • provide installation as Vue plugin
  • add directive <v-currency> for usage on existing input components, closes #1
  • add number range validation, closes #2

Build

  • npm package includes sources
  • provide umd bundle for using directly in browser

1.1.0

19 Jan 20:59
Compare
Choose a tag to compare

Features

  • allow negative values

Bug Fixes

  • set caret position correctly on focus