We have a requirement to not allow approvers to update activation dates(sunrise/sunset), the calendar icon should be readOnly or hidden. I tried to update commonWorkitem.jsf but it is importing workItemAppModule.js which I don’t find.
I can’t find any options in UIConfig too to hide calendar icon.
Updating JS or XHTML file is not appreciated, you can implement validation script in Approval Step where you can check if sunset date is modified you can show validation message to approver that you can not update sunset date.