Skip to content
This repository has been archived by the owner on Apr 4, 2022. It is now read-only.

Nested Compontents are not allowed #51

Open
jodok opened this issue Jul 26, 2021 · 0 comments
Open

Nested Compontents are not allowed #51

jodok opened this issue Jul 26, 2021 · 0 comments

Comments

@jodok
Copy link

jodok commented Jul 26, 2021

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."
        ]
    }
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant