Allow list block with fields
Open
type: feature
- Dominant language
- JavaScript
- Stars
- 19.4k
- Forks
- 3.1k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 9
Description
It'd be great to allow an empty object, so that blocks that don't require an input are still able to be added (for section-drive content management).
```
label: 'Blocks'
name: 'blocks'
widget: 'list'
types:
- label: 'Hero'
name: 'hero'
widget: object
fields:
- { label: 'Title', name: 'title', widget: 'string' }
- { label: 'Sidebar Text', name: 'sidebar', widget: 'string', required: false }
- { label: 'Show Simplified Suffix', name: 'simplified', widget: 'boolean', required: false }
- label: 'Insights'
name: 'insights'
widget: object
```
Contributor guide
Assessment
This issue has not been assessed yet.