Hi,
I have defined a set with three items: 2 texts and 1 wysiwyg. The wysiwyg is supposed to be a mandatory field, the 2 texts are not mandatory.
I have tried the following:
{
"type": "set",
"name": "textOnly",
"label": "Text only",
"options": {
"fields": [
{
"type": "text",
"name": "sectionTitle",
"label": "Section title"
},
{
"type": "text",
"name": "sectionSubtitle",
"label": "Section subtitle"
},
{
"type": "wysiwyg",
"name": "text",
"label": "Text",
"required": true
}
]
}
}
Unfortunately it is not working. I also cannot find anything in the docs.
Does anyone of you have any idea how I can get it done that I get a mandatory (required) field in a set?