Skip to content

Commit 3708dd5

Browse files
pkp/pkp-lib#10820 Use FormErrorSummary in UserInvitationDetailsFormStep component
1 parent 8f1f309 commit 3708dd5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/pages/userInvitation/UserInvitationDetailsFormStep.vue

+5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
<template>
22
<div v-if="store.invitationPayload.userId === null">
3+
<div v-if="Object.keys(store.errors).length" class="p-4">
4+
<FormErrorSummary :errors="store.errors" />
5+
</div>
36
<PkpForm
47
v-bind="userForm"
58
class="userInvitation__stepForm"
9+
:show-error-footer="false"
610
@set="updateUserForm"
711
></PkpForm>
812
</div>
@@ -60,6 +64,7 @@ import {useTranslation} from '@/composables/useTranslation';
6064
import UserInvitationUserGroupsTable from './UserInvitationUserGroupsTable.vue';
6165
import {useUserInvitationPageStore} from './UserInvitationPageStore';
6266
import {useForm} from '@/composables/useForm';
67+
import FormErrorSummary from '@/components/Form/FormErrorSummary.vue';
6368
6469
/**
6570
* Update the payload by using form values on multilingual or not

0 commit comments

Comments
 (0)