Skip to content

Commit

Permalink
Fix a bug with v-model and dynamic type on input.
Browse files Browse the repository at this point in the history
  • Loading branch information
lionel-bijaoui committed Nov 30, 2016
1 parent 61b76c1 commit 1d090df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fields/fieldInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
.wrapper
input.form-control(
:type="schema.inputType",
v-model="value",
:value="value",
@input="value = $event.target.value",
number="schema.inputType == 'number'"
:disabled="disabled",

:accept="schema.accept",
:alt="schema.alt",
:autocomplete="schema.autocomplete",
Expand Down

0 comments on commit 1d090df

Please sign in to comment.