Skip to content

Commit

Permalink
fix(Form Elements): fixed bug when 'Wrong Email' field initially vali…
Browse files Browse the repository at this point in the history
…dated
  • Loading branch information
papasikis committed Feb 8, 2018
1 parent 47b71b0 commit 4407b1e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/forms/form-elements/FormElements.vue
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,10 @@
this[field] = ''
}
},
mounted () {
this.$validator.validateAll()
created () {
this.$nextTick(() => {
this.$validator.validateAll()
})
}
}
</script>
Expand Down

0 comments on commit 4407b1e

Please sign in to comment.