{{ field.label }}
diff --git a/client/web/compose/src/views/Admin/Modules/Edit.vue b/client/web/compose/src/views/Admin/Modules/Edit.vue
index 2747cddbe..e245232ea 100644
--- a/client/web/compose/src/views/Admin/Modules/Edit.vue
+++ b/client/web/compose/src/views/Admin/Modules/Edit.vue
@@ -581,10 +581,13 @@ export default {
},
systemFields () {
+ const systemFieldEncoding = this.module.config.dal.systemFieldEncoding || {}
+
return this.module.systemFields().map(sf => {
+ if (!sf) return
sf.label = this.$t(`field:system.${sf.name}`)
- return sf
- })
+ return { ...sf, ...(systemFieldEncoding[sf.name] || {}) }
+ }).filter(sf => sf)
},
editModalTitle () {
diff --git a/locale/en/corteza-webapp-compose/module.yaml b/locale/en/corteza-webapp-compose/module.yaml
index a7174fb6a..b4c20e227 100644
--- a/locale/en/corteza-webapp-compose/module.yaml
+++ b/locale/en/corteza-webapp-compose/module.yaml
@@ -111,8 +111,16 @@ edit:
System fields are used to store metadata about the record.
Configure to skip or store them into a column with the same name (Column),
a different column (Alias) or encode them into JSON.
+ grouptypes:
+ all: All
+ partition: Partition
+ userReference: User reference
+ timestamps: Timestamps
+ extras: Extras
+
encoding-strategy:
+ unavailable: unavailable
ident:
placeholder: Field or database table column name