Good Evening to all.
Recently, we had a issue on portal lookup. At some point of time, mandatory field doesn’t have value in the system. We can see from audit history that field gets updated by System User.
After long investigation, we found that user can remove the value in the lookup even-though field is read-only.
Typically, we write code as like below post to make the field read-only .
Adding properties from above post to input field, we need to add below property as well.
Hope this tip helps or make sense.
Please feel free reach to me for consulting and training needs. I am so happy to assist.