I currently have a form with long questions which don’t render well when used as a label for a control. As such I want to make a separate label for each question. However I want to use the same rules as the actual question but the rules don’t seem to work on the label types. Is there any way to achieve what I want? (Using the angular seed repo as a base). An example of the problem is shown below -
[
{
"type": "Label",
"text": "Really long question which is to long to render correctly as a question using the label field within a Control type",
"rule": {
"effect": "SHOW",
"condition": {
"schema": {
"const": true
},
"scope": "#/properties/policy/properties/someQuestion"
}
}
},
{
"type": "Control",
"scope": "#/properties/policy/properties/differentQuestion",
"label": "",
"rule": {
"effect": "SHOW",
"condition": {
"schema": {
"const": true
},
"scope": "#/properties/policy/properties/someQuestion"
}
}
}
]