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.5.0 " ,
3+ "version" : " 1.5.1 " ,
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 @@ -236,13 +236,13 @@ export default {
236236 mounted () {
237237 // Check default value from parent v-model.
238238 if (this .value ) {
239- this .processValue (this .value )
239+ this .processValue (this .formatToNumber ( this . value ) )
240240 this .formatValue (this .value )
241241 }
242242
243243 // In case of delayed v-model new value.
244244 setTimeout (() => {
245- this .processValue (this .value )
245+ this .processValue (this .formatToNumber ( this . value ) )
246246 this .formatValue (this .value )
247247 }, 500 )
248248 }
You can’t perform that action at this time.
0 commit comments