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
uptime_andrewuptime_andrew 

Dependent Picklists and inlineEditSupport

When using dependent picklists on an Edit page (displayed in an apex:inputField), dependent picklists work fine.

 

However, when displaying in an apex:outputField (on a view page) and using inlineEditSupport to allow a change to the field, the dependent picklist doesn't appear to work.

 

 

                <apex:outputField value="{!case.Priority}" >
                    <apex:inlineEditSupport showOnEdit="saveButton, cancelButton"
                    hideOnEdit="editButton"  event="ondblclick"
                    changedStyleClass="myBoldClass" resetFunction="resetInlineEdit"/>                
                </apex:outputField>

 

Is there a workaround here?  I'm considering doing some experimentation with jquery to switch the input/output field visibility as a workaround, but if there's a better solution, I'm all ears.