vue-currency-input
Advanced tools
Comparing version 1.20.2 to 1.20.3
/** | ||
* Vue Currency Input 1.20.2 | ||
* Vue Currency Input 1.20.3 | ||
* (c) 2018-2020 Matthias Stiller | ||
@@ -434,3 +434,3 @@ * @license MIT | ||
el.$ci.focus = false; | ||
if (el.$ci.numberValue) { | ||
if (el.$ci.numberValue != null) { | ||
applyFixedFractionFormat(el, el.$ci.numberValue); | ||
@@ -437,0 +437,0 @@ } |
/** | ||
* Vue Currency Input 1.20.2 | ||
* Vue Currency Input 1.20.3 | ||
* (c) 2018-2020 Matthias Stiller | ||
@@ -9,3 +9,3 @@ * @license MIT | ||
typeof define === 'function' && define.amd ? define(['exports'], factory) : | ||
(global = global || self, factory(global.VueCurrencyInput = {})); | ||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.VueCurrencyInput = {})); | ||
}(this, (function (exports) { 'use strict'; | ||
@@ -441,3 +441,3 @@ | ||
el.$ci.focus = false; | ||
if (el.$ci.numberValue) { | ||
if (el.$ci.numberValue != null) { | ||
applyFixedFractionFormat(el, el.$ci.numberValue); | ||
@@ -444,0 +444,0 @@ } |
{ | ||
"name": "vue-currency-input", | ||
"description": "Easy input of currency formatted numbers for Vue.js.", | ||
"version": "1.20.2", | ||
"version": "1.20.3", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "unpkg": "dist/vue-currency-input.umd.js", |
@@ -169,3 +169,3 @@ import { DEFAULT_OPTIONS, setValue } from './api' | ||
el.$ci.focus = false | ||
if (el.$ci.numberValue) { | ||
if (el.$ci.numberValue != null) { | ||
applyFixedFractionFormat(el, el.$ci.numberValue) | ||
@@ -172,0 +172,0 @@ } |
76280