{"record":{"id":"0f90a637f7f23df5","repo":"octobercms/october","slug":"inspector-object-list-keyproperty-can-only-refer-t","errorCode":null,"errorMessage":"Inspector object list keyProperty can only refer to a string or text property. Property: ${property}, keyProperty: ${keyProperty}, unsupported type: ${type}","messagePattern":"Inspector object list keyProperty can only refer to a string or text property\\. Property: (.+?), keyProperty: (.+?), unsupported type: (.+?)","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"modules/backend/vuecomponents/inspector/assets/js/control-objectlist.js","lineNumber":282,"sourceCode":"        }\n    },\n    created: function created() {\n\n    },\n    mounted: function mounted() {\n        if (!this.control.titleProperty) {\n            var error = 'Inspector object list titleProperty cannot be empty. Property: ' + this.control.property;\n            throw new Error(error);\n        }\n\n        if (this.control.keyProperty) {\n            var keyProperty = this.keyProperty;\n            if (keyProperty.type && keyProperty.type != 'string' && keyProperty.type != 'text') {\n                var error = 'Inspector object list keyProperty can only refer to a string or text property. Property: '\n                    + this.control.property +\n                    ', keyProperty: ' + this.control.keyProperty +\n                    ', unsupported type: ' + keyProperty.type;\n                throw new Error(error);\n            }\n        }\n\n        if (Array.isArray(this.control.depends)) {\n            this.control.depends.forEach(dependsOn => {\n                this.unwatches.push(\n                    this.$watch('obj.' + dependsOn, (newVal) => {\n                        this.editedObject = [];\n                        this.setManagedValue([]);\n                    })\n                );\n            })\n        }\n\n        this.$emit('hidefullwidthlabel');\n        this.$emit('hidebottomborder');\n\n        this.lang.error = this.$el.getAttribute('data-lang-error');","sourceCodeStart":264,"sourceCodeEnd":300,"githubUrl":"https://github.com/octobercms/october/blob/b608633a7e8922487d91a8161499020121c3b3bf/modules/backend/vuecomponents/inspector/assets/js/control-objectlist.js#L264-L300","documentation":"Error \"Inspector object list keyProperty can only refer to a string or text property. Property: ${property}, keyProperty: ${keyProperty}, unsupported type: ${type}\" thrown in octobercms/october.","triggerScenarios":"Thrown at modules/backend/vuecomponents/inspector/assets/js/control-objectlist.js:282 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"b608633a7e8922487d91a8161499020121c3b3bf","analyzedAt":"2026-08-21T04:24:57.515Z","schemaVersion":2},"datasetVersion":"2026-08-21T11:28:35.574Z"}