#108657Support `maxitems: 1`
Description
While a full definition of “maxitems: XXX” might not be needed, it would be nice to be able to define that a colPos should only have ONE instance of a content element type.
For example a “hero” colPos should only be able to contain exactly one “textmedia” element.
Currently, as soon as a content element type is allowed, any amount of instances could be added, leading to a wrongly built frontend.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Fix this issue
Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch
- Commit message
-
[TASK] Support `maxitems: 1` Resolves: #108657 Releases: main