{"record":{"id":"aad2ba41691e92e7","repo":"octobercms/october","slug":"the-ignoreifdefault-feature-cannot-be-used-without","errorCode":null,"errorMessage":"The ignoreIfDefault feature cannot be used without the default property value.","messagePattern":"The ignoreIfDefault feature cannot be used without the default property value\\.","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"modules/backend/assets/foundation/controls/inspector/inspector.surface.js","lineNumber":863,"sourceCode":"                    }\n                    else {\n                        value = property.default\n                    }\n                }\n\n                if (value === $.oc.inspector.removedProperty) {\n                    continue\n                }\n\n                if (property.ignoreIfEmpty !== undefined && (property.ignoreIfEmpty === true || property.ignoreIfEmpty === \"true\") && editor) {\n                    if (editor.isEmptyValue(value)) {\n                        continue\n                    }\n                }\n\n                if (property.ignoreIfDefault !== undefined && (property.ignoreIfDefault === true || property.ignoreIfDefault === \"true\") && editor) {\n                    if (property.default === undefined) {\n                        throw new Error('The ignoreIfDefault feature cannot be used without the default property value.')\n                    }\n\n                    if (this.comparePropertyValues(value, property.default)) {\n                        continue\n                    }\n                }\n            }\n            else {\n                value = externalParameterEditor.getValue()\n                value = '{{ ' + value + ' }}'\n            }\n\n            result[property.property] = value\n        }\n\n        return result\n    }\n","sourceCodeStart":845,"sourceCodeEnd":881,"githubUrl":"https://github.com/octobercms/october/blob/b608633a7e8922487d91a8161499020121c3b3bf/modules/backend/assets/foundation/controls/inspector/inspector.surface.js#L845-L881","documentation":"Error \"The ignoreIfDefault feature cannot be used without the default property value.\" thrown in octobercms/october.","triggerScenarios":"Thrown at modules/backend/assets/foundation/controls/inspector/inspector.surface.js:863 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"}