decaporg / decaporg/decap-cms

Any kind of list or modular component nested inside the existing modular components widget

Open
#6,060 1 comment 0 reactions 0 assignees View on GitHub
area: configuration area: extensions/widgets/list type: feature
Dominant language
JavaScript
Stars
19.4k
Forks
3.1k
Avg merge
1d 14h
Merged PRs (30d)
9

Description

So having a widget that allows modular components (what we have here [https://github.com/netlify/netlify-cms/pull/1857](https://github.com/netlify/netlify-cms/pull/1857)) is really nice. But it doesn't seem all that useful to me unless I can nest another modular component block or a list widget inside of that.

As of right now, if you try and nest a list or modular components widget inside, there is no ability to "create new" data. The parameter of "create:true" doesn't seem to be working.

Ideally, it would be nice to be able to do something like this in the config.yml:

```- label: Content Blocks
name: contentBlocks
widget: list
types:
- label: Nested Modular Component
name: nestedModularComponent
widget: list
types:
- {label: lorem, name: ipsum, widget: string}
- label: Nested List
name: nestedList
widget: list
create: true
fields:
- {label: lorem, name: ipsum, widget: string}```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.