I have a custom Layout Component, which contains a Repeater field which has a Set as it’s type that is repeated. What I cannot get to work is setting required fields within this Set.
I know, that I need to set the “required” value into a nested options element, but it still does not work:
{
"field": {
"type": "set",
"options": {
"fields": [
{
"name": "title",
"type": "text",
"options": {
"required": true
}
}, ...
]
}
}
}
This does not fail during saving when the title is not set. I assume, that the conditions within the Layout Component are not validated during saving of the Collection entry?
Thanks for clarification.