Default Array Editor
The standard editor that appears for array types without specific formatting requirements.
Activation Conditions
"type": "array"
Example
{
"type": "array",
"title": "Names",
"items": {
"title": "Name",
"type": "string"
},
"default": [
"Alice",
"Betti",
"Carl"
]
}Footer
Adds a footer row with add and/or delete-all buttons. Use x-arrayDeleteAll to also show a "Delete all" button in the header.
x-arrayDeleteAll— Adds a "Delete all" button to the headerx-arrayFooterAdd— Adds an "Add item" button in the footerx-arrayFooterDeleteAll— Adds a "Delete all" button in the footerx-arrayFooterButtonsPosition— Aligns footer buttons ('left'or'right', default:'right')
Example
{
"type": "array",
"title": "Names",
"x-arrayDeleteAll": true,
"x-arrayFooterAdd": true,
"x-arrayFooterDeleteAll": true,
"items": {
"title": "Name",
"type": "string"
},
"default": [
"Alice",
"Betti",
"Carl"
]
}