I have a repeater
of set
fields in my Collection in Cockpit CMS.
Options is:
{
"fields": [
{
"type": "set",
"label": "Some Block",
"options": {
"fields": [
{
"name": "title",
"type": "text"
},
{
"name": "picture",
"type": "image"
}
]
}
}
]
}
How to use display
option in repeater
for display title
field with re-ordering mode? If it's possible.
The cockpit docs are not sufficiently informative, and it says:
"display": null // display value on re-order
And how to use this option in other cases, except null
?
OK. I found the solution.
Option
display
can be a part ofoptions
ofset
field: