With ✨ Allow SDCs to specify what components are allowed in its respective slots Active , Core will introduce 3 new optional keywords in each SDC slot definition:
expected with a list of values: SDC plugin IDs (if they have a colon inside) or tags/groups (if no colon inside)minimum and maximum with a strictly positive integer value: Enforce a lower/maximum limit on the number of childrenSDC and the Render API will only suggest, not enforce. So, both UI Patterns 2 (in the slot part of the component form) and Display Builder will need to find a way to leverage those properties.
Display Builder already have a dedicated issue 📌 Cardinality constraint for slots Active
We don't need to wait the Core issue to be merged to start. The consensus has been reached and Core will not do much anyway.
et's ignore minimum for now.
Specific to maximum:
ComponentSlotForm when the limit is reachedSpecific to suggested:
Active
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
No activities found.