Question
Cognizant Technology Solutions
GB
Last activity: 11 Jul 2024 10:54 EDT
How to pass two values to be displayed for Radio button in Constellation
I am using Constellation and Pega Infinity 23 (23.1.2) and I need to show two texts beside the radio buttons - one is the label and another placeholder text.
When I use the Radio button using the data page it shows the label (property for code and value) but I cannot pass another placeholder text that I need to show just beside the Label. When looking at the JSON I see that the JSON doesn't contain the placeholder text. How can we pass another field in the JSON so that the component can render the label and placeholder text both?
Also if there is a field that I am not displaying on the screen then how do we pass the same in JSON response?