diff --git a/frontend/src/components/Dashboard/Participants/ParticipantsList.vue b/frontend/src/components/Dashboard/Participants/ParticipantsList.vue index cb3b32b..8d6f6b5 100644 --- a/frontend/src/components/Dashboard/Participants/ParticipantsList.vue +++ b/frontend/src/components/Dashboard/Participants/ParticipantsList.vue @@ -213,6 +213,7 @@ export default { slack: '', phone: '', }); + return { v$: useVuelidate(), form }; }, data() { @@ -236,6 +237,7 @@ export default { : !Object.values(this.getParticipants).find( (user) => user.email === value ); + return exists; }; const githubExists = (value) => { @@ -245,6 +247,7 @@ export default { (user) => user.github_username === value ); }; + return { form: { email: { diff --git a/frontend/src/components/Dashboard/Participants/ParticipantsSearch/ParticipantsSearch.vue b/frontend/src/components/Dashboard/Participants/ParticipantsSearch/ParticipantsSearch.vue index 186c94d..5492a90 100644 --- a/frontend/src/components/Dashboard/Participants/ParticipantsSearch/ParticipantsSearch.vue +++ b/frontend/src/components/Dashboard/Participants/ParticipantsSearch/ParticipantsSearch.vue @@ -48,6 +48,7 @@ export default { set(selectedParticipant) { const newSelectedParticipant = typeof selectedParticipant === 'object' ? selectedParticipant : null; + this.$emit('input', newSelectedParticipant); }, }, diff --git a/frontend/src/components/Login/LoginForm.vue b/frontend/src/components/Login/LoginForm.vue index 2d80a72..f9e5c71 100644 --- a/frontend/src/components/Login/LoginForm.vue +++ b/frontend/src/components/Login/LoginForm.vue @@ -83,6 +83,7 @@ export default { github_username: '', password: '', }); + return { v$: useVuelidate(), loginForm,