Skip to content

Commit

Permalink
Add spatial extensts field
Browse files Browse the repository at this point in the history
  • Loading branch information
Angi-Kinas committed Jul 25, 2024
1 parent f42fd36 commit 222acb4
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion libs/feature/editor/src/lib/fields.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,13 @@ export const RECORD_ABSTRACT_FIELD: EditorField = {
},
}

export const RECORD_SPATIAL_EXTENTS_FIELD: EditorField = {
model: 'spatialExtents',
formFieldConfig: {
labelKey: marker('editor.record.form.field.spatialExtents'),
},
}

/************************************************************
*************** SECTIONS *****************
************************************************************
Expand All @@ -109,7 +116,7 @@ export const ABOUT_SECTION: EditorSection = {
export const GEOGRAPHICAL_COVERAGE_SECTION: EditorSection = {
labelKey: marker('editor.record.form.section.geographicalCoverage.label'),
hidden: false,
fields: [],
fields: [RECORD_SPATIAL_EXTENTS_FIELD],
}

export const ASSOCIATED_RESOURCES_SECTION: EditorSection = {
Expand Down

0 comments on commit 222acb4

Please sign in to comment.