File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " vue-numeric" ,
3- "version" : " 1.2.2 " ,
3+ "version" : " 1.2.3 " ,
44 "description" : " Input field component to display currency value based on Vue." ,
55 "author" : " Kevin Ongko" ,
66 "main" : " src/vue-numeric.vue" ,
Original file line number Diff line number Diff line change 11<template >
2- <input type =" tel" :value = " value " v-model =" amount" ref = " numeric " :placeholder =" placeholder" @blur =" processValue(amountValue)" >
2+ <input type =" tel" v-model =" amount" :value = " value " :placeholder =" placeholder" @blur =" processValue(amountValue)" >
33</template >
44
55<script >
@@ -134,7 +134,7 @@ export default {
134134 thousand: this .thousandSeparator
135135 })
136136
137- this .$emit (' input' , accounting .toFixed (value, this .precision ))
137+ this .$emit (' input' , Number ( accounting .toFixed (value, this .precision ) ))
138138 }
139139 }
140140}
You can’t perform that action at this time.
0 commit comments