-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(newform): default catcombo as init value
- Loading branch information
Showing
3 changed files
with
20 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/* Might seem wrong to hardcode this, but it makes things simpler | ||
these IDs are hardcoded in the backend | ||
see | ||
https://github.com/dhis2/dhis2-core/blob/master/dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/dataelement/DefaultCategoryService.java#L472 | ||
and | ||
https://github.com/dhis2/dhis2-core/blob/master/dhis-2/dhis-services/dhis-service-administration/src/main/resources/data-integrity-checks/categories/categories_one_default_category_combo.yaml | ||
*/ | ||
|
||
export const DEFAULT_CATEGORY_OPTION_ID = 'xYerKDKCefk' | ||
export const DEFAULT_CATEGORY_ID = 'GLevLNI9wkl' | ||
export const DEFAULT_CATEGORY_COMBO_ID = 'bjDvmb4bfuf' | ||
export const DEFAULT_CATEGORY_OPTION_COMBO_ID = 'HllvX50cXC0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters