-
Notifications
You must be signed in to change notification settings - Fork 416
Closed
Description
Not sure if this is a bug or something that I am doing wrong. I am trying to fix the labels for the ui elements here is my schema.
type: 'object',
properties: {
"primaryPrograms": {
"type": "array",
"items": {
type: 'object',
properties: {
"primaryProgram": {
"type": "boolean"
},
"program": {
"type": "string",
"enum": []
},
"admitDate": {
'type': 'string',
'format': 'date'
},
"dischargeDate": {
'type': 'string',
'format': 'date'
}
}
}
}
}
}
ui schema - {
"type": "VerticalLayout",
"elements": [
{
"type": "Control",
"label": "Primary Program"
"scope": "#/properties/primaryPrograms/items/properties/primaryProgram"
}
]
}
If I try to define a uischema as suggested in the docs, i lose the array renderer but the label works fine
