We are a creating a JSM portal form in the team.
We are trying to populate values on the approver field and make it readonly through Scriptrunner behaviour.
Code: approver.setReadOnly(true)
The values are populating but the field does not set to readonly.
While the readonly function is working on other fields, but not working for the approver field.
Can someone help with this issue?