@coders-tm/vue-number-format
Advanced tools
Comparing version 3.4.0 to 3.5.0
@@ -385,3 +385,3 @@ /** | ||
let newValue = target.value.replace(regExp, ''); | ||
const canNegativeInput = !config.min || config.min < 0; | ||
const canNegativeInput = config.min < 0; | ||
if ( | ||
@@ -388,0 +388,0 @@ ([110, 190].includes(e.keyCode) || e.key === config.decimal) && |
@@ -381,3 +381,3 @@ /** | ||
let newValue = target.value.replace(regExp, ''); | ||
const canNegativeInput = !config.min || config.min < 0; | ||
const canNegativeInput = config.min < 0; | ||
if ( | ||
@@ -384,0 +384,0 @@ ([110, 190].includes(e.keyCode) || e.key === config.decimal) && |
@@ -382,3 +382,3 @@ /** | ||
let newValue = target.value.replace(regExp, ''); | ||
const canNegativeInput = !config.min || config.min < 0; | ||
const canNegativeInput = config.min < 0; | ||
if ( | ||
@@ -385,0 +385,0 @@ ([110, 190].includes(e.keyCode) || e.key === config.decimal) && |
{ | ||
"name": "@coders-tm/vue-number-format", | ||
"version": "3.4.0", | ||
"version": "3.5.0", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "description": "Easy formatted numbers, currency and percentage with input/directive mask for Vue.js", |
56351