Skip to content

Commit

Permalink
fix(invites): more responsive validation
Browse files Browse the repository at this point in the history
  • Loading branch information
SabreCat committed Nov 14, 2018
1 parent 239f786 commit cc13c4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/client/components/groups/inviteModal.vue
Expand Up @@ -11,7 +11,7 @@
type='text',
:placeholder='$t("emailOrUsernameInvite")',
v-model='invite.text',
v-on:change='checkInviteList',
v-on:keyup='checkInviteList',
:class='{"input-valid": invite.valid, "is-invalid input-invalid": invite.valid === false}',
)
.input-error.text-center.mt-2(v-if="invite.error") {{ invite.error }}
Expand Down Expand Up @@ -147,7 +147,7 @@
});
}
});
}, 500),
}, 250),
fillErrors (index, res) {
if (!res || res.status === 200) {
this.invites[index].error = null;
Expand Down

0 comments on commit cc13c4f

Please sign in to comment.