i have a list of customers and i want to show my custom button at the end of each customer.
here is the uischema
{
“type”: “VerticalLayout”,
“elements”: [
{
“type”: “Control”,
“scope”: “#/properties/customerInfo/properties/customers”
},
{
“type”: “Control”,
“label”: “Get”,
“scope”: “#/properties/customerInfo/properties/buttonProperty”,
“options”: {
“action”: “get”,
“path”: “…/assets/customer/output/data.json”,
“schemaLabel”: “customerInfo”,
“button”: true
}
}
]
}
and this is schema
{
“type”: “object”,
“properties”: {
“customers”: {
“type”: “array”,
“items”: {
“type”: “object”,
“properties”: {
“id”: {
“type”: “string”
},
“name”: {
“type”: “string”
},
“email”: {
“type”: “string”,
“format”: “email”
},
“contact”: {
“type”: “integer”
},
“city”: {
“type”: “string”
}
},
“required”: [
“id”,
“name”
]
}
}
}
}
what can i do to show my custom button at the end of each record ?