octobercms/october · error · Error
Inspector object list titleProperty cannot be empty…
Error message
Inspector object list titleProperty cannot be empty. Property: ${property} What it means
Configuration error raised in the object list component's mounted hook: control.titleProperty is empty/undefined. Every object list must know which item property renders the item title, so an absent titleProperty is treated as a schema bug rather than falling back silently.
Solutions
- Set titleProperty in the object list control configuration to a valid itemProperties property name
- If titles are unnecessary, switch to a control type that does not require a title property
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at modules/backend/vuecomponents/inspector/assets/js/control-objectlist.js:272 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of octobercms/october@b608633a7e (2026-08-21).
Data as JSON: /api/errors/dec6d2fdd8e1a2be.
Report an issue: GitHub.
Appendix: source
Thrown at modules/backend/vuecomponents/inspector/assets/js/control-objectlist.js:272
return this.handleEditItem(ev.key);
}
},
onInvalid: function onInvalid() {
this.$refs.group.setHasValidationErrors(true);
},
onValid: function onValid() {
this.$refs.group.setHasValidationErrors(false);
}
},
created: function created() {
},
mounted: function mounted() {
if (!this.control.titleProperty) {
var error = 'Inspector object list titleProperty cannot be empty. Property: ' + this.control.property;
throw new Error(error);
}
if (this.control.keyProperty) {
var keyProperty = this.keyProperty;
if (keyProperty.type && keyProperty.type != 'string' && keyProperty.type != 'text') {
var error = 'Inspector object list keyProperty can only refer to a string or text property. Property: '
+ this.control.property +
', keyProperty: ' + this.control.keyProperty +
', unsupported type: ' + keyProperty.type;
throw new Error(error);
}
}
if (Array.isArray(this.control.depends)) {
this.control.depends.forEach(dependsOn => {
this.unwatches.push(
this.$watch('obj.' + dependsOn, (newVal) => {
this.editedObject = [];View on GitHub (pinned to b608633a7e)