Is it possible to have a container with the multi property set to true ? Here is my model definition:
"models": [
{
"id": "cardlinksitem",
"fields": [
{
"component": "text",
"name": "title",
"value": "",
"label": "Title",
"valueType": "string"
},
{
"component": "container",
"label": "Links",
"name": "links",
"valueType": "object",
"multi": true,
"fields": [
{
"component": "text",
"name": "title",
"label": "Button Label",
"valueType": "string"
},
{
"component": "text",
"name": "link",
"label": "Button Link",
"valueType": "string"
}
]
}
]
}
],
When I preview the page in the Universal Editor I can see the component but it's blank. I've tried to decorate the block and inserted
<div data-name="links" data-aue-prop="links" data-aue-label="Links"><div data-aue-model="buttons" data-aue-label="Button"><p data-name="title" data-aue-prop="title" data-aue-label="Button Title">Example Button</p><p data-name="link" data-aue-prop="link" data-aue-label="Button Link">https://example.com</p></div></div>