Skip to content

Commit

Permalink
2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinongko committed Sep 3, 2017
1 parent 738301a commit 82e36e8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ By default the decimal value is disabled. To use decimals in the value, add the
|-----|-----------|--------|----|-------|
|currency|Currency prefix|false|String|-|
|currency-symbol-position|Position of the symbol (accepted values: `prefix` or `suffix`)|false|String|`prefix`|
|max|Maximum value allowed|false|Number|100 quadrillion|
|min|Minimum value allowed|false|Number|0|
|max|Maximum value allowed|false|Number|9007199254740991|
|min|Minimum value allowed|false|Number|-9007199254740991|
|minus|Enable/disable negative values|false|Boolean|`false`|
|placeholder|Input placeholder|false|String|-|
|precision|Number of decimals|false|Number|-|
Expand Down
2 changes: 1 addition & 1 deletion dist/vue-numeric.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-numeric",
"version": "2.0.1",
"version": "2.1.0",
"description": "Input field component to display currency value based on Vue.",
"author": "Kevin Ongko",
"main": "dist/vue-numeric.min.js",
Expand Down
4 changes: 2 additions & 2 deletions src/vue-numeric.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default {
* Maximum value allowed.
*/
max: {
default: 100000000000000000,
default: Number.MAX_SAFE_INTEGER,
required: false,
type: Number
},
Expand All @@ -42,7 +42,7 @@ export default {
* Minimum value allowed.
*/
min: {
default: 0,
default: Number.MIN_SAFE_INTEGER,
required: false,
type: Number
},
Expand Down

0 comments on commit 82e36e8

Please sign in to comment.