I have timesheet module where added a condition to make a field read only. In one scenario This is not working.
Scenario:
Open any older timesheet where the condition is met and field is read only.
Then open new timesheet where condition doesn’t meet and field should be editable but its still read only.
I don’t see any reset happening in form.js. Where the changes should be made for this?