strapi-starter-next-corporate icon indicating copy to clipboard operation
strapi-starter-next-corporate copied to clipboard

Nested Compontents are not allowed

Open jodok opened this issue 2 years ago • 0 comments

This Starter uses a 2-level nested component (footer->columns->links). This is not allowed (https://github.com/strapi/strapi/blob/4ab210eec65d7f1a4f6334cdef4c797b4e6b9531/packages/strapi-plugin-content-type-builder/controllers/validation/types.js#L247). When trying to change one field and saving it - e.g. removing the footer logo - an error on save occurs:

{
    "error": {
        "components[0].attributes.columns.component": [
            "footer-section already as a nested compoent. You cannot have more than one level of nesting inside your components."
        ]
    }
}

jodok avatar Jul 26 '21 14:07 jodok