Commit 61afa6c0 authored by Roma's avatar Roma

hotfix initial state from v-model

parent faec1275
{ {
"name": "vue-masked-input", "name": "vue-masked-input",
"description": "Masked input component for Vue.js 2.X", "description": "Masked input component for Vue.js 2.X",
"version": "0.3.4", "version": "0.3.5",
"author": "niksmr", "author": "niksmr",
"license": "MIT", "license": "MIT",
"homepage": "https://github.com/niksmr/vue-masked-input", "homepage": "https://github.com/niksmr/vue-masked-input",
......
...@@ -94,8 +94,7 @@ export default { ...@@ -94,8 +94,7 @@ export default {
}) })
for (const char of this.$refs.input.value) { for (const char of this.$refs.input.value) {
console.log(''); this.mask_core.input(char)
//this.mask_core.input(char)
} }
this.mask_core.setSelection({ this.mask_core.setSelection({
start: 0, start: 0,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment