I want to make read-only to the related field search box on change other field or on page load in record.js
In the record.js in the initialize method you need to set the individual field to have a readonly parameter. For relate fields you need to do the name parameter. This example is for assigned user.
this.model.fields.assigned_user_name.readonly = true;
In the record.js in the initialize method you need to set the individual field to have a readonly parameter. For relate fields you need to do the name parameter. This example is for assigned user.
this.model.fields.assigned_user_name.readonly = true;