Behaviours mapped to the "Use Service Desk mapping" type on a RadioButton or CheckBox custom field still displays "optional" in the customer portal whenever calling setRequired(true) on those fields
Steps to reproduce:
- Create a SD project
- Create a RadioButton or CheckBox custom field
- Add the field to the customer portal screen
- Create a Behaviour with the "Use Service Desk mapping" and mapped to "All request types"
- In the initialiser paste this code
- Go to the customer portal in the created SD project and notice the "(optional)" text on the field which shouldn't be there as the field is set to required