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.5.0 " ,
3
+ "version" : " 1.5.1 " ,
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 @@ -236,13 +236,13 @@ export default {
236
236
mounted () {
237
237
// Check default value from parent v-model.
238
238
if (this .value ) {
239
- this .processValue (this .value )
239
+ this .processValue (this .formatToNumber ( this . value ) )
240
240
this .formatValue (this .value )
241
241
}
242
242
243
243
// In case of delayed v-model new value.
244
244
setTimeout (() => {
245
- this .processValue (this .value )
245
+ this .processValue (this .formatToNumber ( this . value ) )
246
246
this .formatValue (this .value )
247
247
}, 500 )
248
248
}
You can’t perform that action at this time.
0 commit comments