I’m not aware of any core field, that has this beautiful, clean data structure. I wrote a field “simple-repeater”, that serves exactly your purpose. It wasn’t compatible with set fields (and I only tested it with text fields in the past), but I fixed it and now it should work as expected.
Field options:
name: questions
type: simple-repeater
options:
{
"field": {
"type": "set",
"label": "question",
"options": {
"fields": [
{
"type": "text",
"name": "id",
"options": {
"type": "number"
}
},
{
"type": "text",
"name": "label"
}
]
}
}
}
Custom field:
Usage: