function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
chandru chandruchandru chandru 

how to make the picklist field value uneditable in salesforce

SwethaSwetha (Salesforce Developers) 
HI Chandru,
You can create a validation rule for this
( ISCHANGED (status__c))
status__c is the name of the picklist field which when edited throws the validation rule error.

or you can make the field read-only either on the page layout or the profile (field-level security).

Note: Even if you set field-level permissions to read-only, your Apex code can modify it if it runs in the system context.

If this information helps, please mark the answer as best. Thank you
The TechieThe Techie
Hi,

plus you can make it readonly from layout -
https://www.youtube.com/watch?v=SVl0EC8gXJs