Horizontal Navigation Array Editor
Horizontal version of the navigation editor for different layout needs.
Activation Conditions
"type": "array""x-format": "nav-horizontal"
Example
{
"type": "array",
"title": "People",
"x-titleTemplate": "{{ i1 }}) {{ value.name }}",
"x-format": "nav-horizontal",
"items": {
"type": "object",
"title": "Person",
"properties": {
"name": {
"title": "Name",
"type": "string",
"default": "German"
}
}
},
"default": [
{
"name": "Albert"
},
{
"name": "Betti"
}
]
}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": "People",
"x-titleTemplate": "{{ i1 }}) {{ value.name }}",
"x-format": "nav-horizontal",
"x-arrayDeleteAll": true,
"x-arrayFooterAdd": true,
"x-arrayFooterDeleteAll": true,
"items": {
"type": "object",
"title": "Person",
"properties": {
"name": {
"title": "Name",
"type": "string",
"default": "German"
}
}
},
"default": [
{
"name": "Albert"
},
{
"name": "Betti"
}
]
}