strapi / strapi-starter-next-corporate

Next.js starter for creating a corporate site with Strapi.
https://strapi-starter-next-corporate.vercel.app
MIT License
346 stars 95 forks source link

Nested Compontents are not allowed #51

Open jodok opened 3 years ago

jodok commented 3 years ago

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."
        ]
    }
}