Details
-
Bug
-
Status: Done
-
High
-
Resolution: Fixed
-
5.3.13
-
None
-
SR Version: 5.3.13
JIRA Version: 7.9.0
SD Version: 3.12.0
-
1.2
Description
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
getFieldByName(FIELD_NAME).setRequired(true)
- 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
Attachments
Issue Links
- is related to
-
SRJIRA-2810 Behaviours setRequired considers "None" as a valid selection for Select Lists in JSDĀ portal
-
- Done
-
- relates to
-
SRJIRA-2870 setLabel() and setDescription() doesn't work on checkbox/radio button in customer portal
-
- Done
-