Example for a custom renderer to handle Label|Value combinations in Checkboxes

In one of my applications I have to handle Checkboxes and Radio Buttons with a very special data schema where the Checkbox Label and its Value is combined in a one string like

"My Lable | value-1"

To handle this kind of data schema, I developed a custom renderer that can handle single value objects displayed as Radio buttons and array-values displayed as Checkboxes.

I wrote a short tutorial showing my current implementation. Maybe this can be helpful for someone:

3 Likes