I want to make read-only to the related field search box on change other field or on page load in record.js
I want to make the search field inside the relate field read-only. Or please suggest a solution to search filter through search box according to another field value like "Hello Word".
laxmichand
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;
You could use Dependency Actions as they are Extensible and remove the possibility of losing your changes in the record.js file if it is overwritten by another package.