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 1
1
{
2
2
"name" : " vue-numeric" ,
3
- "version" : " 1.2.2 " ,
3
+ "version" : " 1.2.3 " ,
4
4
"description" : " Input field component to display currency value based on Vue." ,
5
5
"author" : " Kevin Ongko" ,
6
6
"main" : " src/vue-numeric.vue" ,
Original file line number Diff line number Diff line change 1
1
<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)" >
3
3
</template >
4
4
5
5
<script >
@@ -134,7 +134,7 @@ export default {
134
134
thousand: this .thousandSeparator
135
135
})
136
136
137
- this .$emit (' input' , accounting .toFixed (value, this .precision ))
137
+ this .$emit (' input' , Number ( accounting .toFixed (value, this .precision ) ))
138
138
}
139
139
}
140
140
}
You can’t perform that action at this time.
0 commit comments