I am having hard time to make the Collection-link required inside a repeater and a set. Is there a way to make it required?
Here is my JSON:
{
"fields": [
{
"name": "events",
"type": "set",
"label": "My events",
"options": {
"display": "limit",
"fields": [
{
"name": "limit",
"type": "text",
"label": "The limit",
"options": {
"default": "0",
"pattern": "^([0-9]+)$",
"required": true
}
},
{
"name": "page",
"type": "collectionlink",
"label": "The linked page",
"options": {
"link": "page",
"display": "title",
"multiple": false,
"limit": 1,
"required": true
}
}
]
}
}
]
}