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
Nick VerschuerenNick Verschueren 

Key field grayed out, but editable in details

Hi,

We have an issue with a ke field dat can't be edited, although it should be editable, and is editable on other places.

When clicking edit next to the key fields in the path on an opportunity
User-added image

We  not able to change the field "main won reason" because it is grayed out, if it already has a value then that value is shown but no other options are shown. User-added image
But if we want to edit this in de details page instead of the key fields, all is fine and all options are shown and we can change the value.

User-added image

All profile have read and write right to this field and we can't find where this issue is comming from...
SwethaSwetha (Salesforce Developers) 
HI Nick,
Is key fields section involving any custom code? I dont see it for any opportunities in my dev org.Thanks
Nick VerschuerenNick Verschueren
Hi Swetha,

not as far as I know, it is just a basic path with key fields. 
There are custom apex triggers and automatically triggered flows, but not direcly linked to this path

User-added image