Skip to content

Commit

Permalink
fix: vuelidate
Browse files Browse the repository at this point in the history
  • Loading branch information
logustra committed May 23, 2021
1 parent 9498650 commit 5b4a1ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/Home/views/home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
</ElButton>

<ElForm>
{{ v$.name.$error }}
<VFormItem :error="v$.name.$invalid">
<VFormItem :error="v$.name.$error">
<ElInput
v-model="form.name"
placeholder="Name"
@input="v$.name.$touch"
/>

<template #error>
Expand Down

0 comments on commit 5b4a1ed

Please sign in to comment.