Skip to content

Commit

Permalink
Merge branch 'DHIS2-18143/category-option-group-set' of github-chisom…
Browse files Browse the repository at this point in the history
…:dhis2/maintenance-app-beta into DHIS2-18143/category-option-group-set
  • Loading branch information
Chisomchima committed Nov 5, 2024
2 parents a6c808f + a5d88d9 commit 4bbe5f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,10 @@ function CategoryOptionGroupSetFormFields() {
query={{
resource: 'categoryOptionGroups',
}}
leftHeader={i18n.t('Available category options')}
rightHeader={i18n.t('Selected category options')}
leftHeader={i18n.t('Available category option groups')}
rightHeader={i18n.t('Selected category option groups')}
filterPlaceholder={i18n.t(
'Filter available category options'
'Filter available category option groups'
)}
filterPlaceholderPicked={i18n.t(
'Filter selected category options'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const categoryOptionGroupSetSchema = identifiable
.default(CategoryOptionGroupSet.dataDimensionType.DISAGGREGATION),
dataDimension: z.boolean().default(true),
categoryOptionGroups: referenceCollection
.min(1, 'At least one category option is required')
.min(1, 'At least one category option group is required')
.default([]),
})

Expand Down

0 comments on commit 4bbe5f6

Please sign in to comment.