I’m new to JSONForms trying to assemble a complex form in Angular.
Is it possible to display the value of a field as part of a label?
E.g. If a user selects ‘month’ for participationPeriod, I’d like to change the label to ‘User must qualify every month’.
Here’s the element in question of the schema:
"participationPeriod": {
"type": "string",
"default": "month",
"enum": [
"day",
"week",
"month"
]
},
Here’s the part of my UISchema:
{
"type": "HorizontalLayout",
"elements": [
{
"type": "Control",
"scope": "#/properties/participationPeriod"
},
{
"type": "Label",
"text": "User must qualify every '#/properties/participationPeriodStart'"
}
]}
Thanks in advance.