Skip to content

Commit

Permalink
Merge pull request #358 from opencrvs/feat/add-value-missing-default
Browse files Browse the repository at this point in the history
feat: add value missing definitions for summary
  • Loading branch information
makelicious authored Jan 8, 2025
2 parents 5a65c81 + f8f3d94 commit 1ccc283
Showing 1 changed file with 33 additions and 5 deletions.
38 changes: 33 additions & 5 deletions src/form/tennis-club-membership.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,19 +171,47 @@ export const tennisClubMembershipEvent = defineConfig({
},
fields: [
{
id: 'applicant.firstname'
id: 'applicant.firstname',
emptyValueMessage: {
defaultMessage: "Applicant's first name missing",
description:
"shown when the applicant's first name is missing in summary",
id: 'event.tennis-club-membership.summary.field.applicant.firstname.empty'
}
},
{
id: 'applicant.surname'
id: 'applicant.surname',
emptyValueMessage: {
defaultMessage: "Applicant's surname missing",
description: 'shown when the surname is missing in summary',
id: 'event.tennis-club-membership.summary.field.applicant.surname.empty'
}
},
{
id: 'recommender.firstname'
id: 'recommender.firstname',
emptyValueMessage: {
defaultMessage: "Recommender's first name missing",
description:
'shown when the recommender first name is missing in summary',
id: 'event.tennis-club-membership.summary.field.recommender.firstname.empty'
}
},
{
id: 'recommender.surname'
id: 'recommender.surname',
emptyValueMessage: {
defaultMessage: "Recommender's surname missing",
description:
'shown when the recommender surname is missing in summary',
id: 'event.tennis-club-membership.summary.field.recommender.surname.empty'
}
},
{
id: 'recommender.id'
id: 'recommender.id',
emptyValueMessage: {
defaultMessage: "Recommender's id missing",
description: 'shown when the recommender id is missing in summary',
id: 'event.tennis-club-membership.summary.field.recommender.id.empty'
}
}
]
},
Expand Down

0 comments on commit 1ccc283

Please sign in to comment.