I have an apex:inputField
control bound to a field of type picklist on a visualforce page. Like so:
<apex:inputField value="{!myObj.DependentPicklist__c}" required="true" />
Inexplicably it renders disabled and the HTML output is as seen below (some details have been omitted for sake of brevity):
<div class="condRequiredInput">
<div class="requiredBlock"></div>
<span>
<select id="..." name="..." disabled=""> ... PICKLIST OPTIONS ... </select>
<input type="hidden" name="..." value="__">
</span>
</div>
My understanding is that apex:inputField
has no disabled attribute. I searched for any JS code that might be manually disabling the input control to no avail. So my question is, what Salesforce built in functionality could possibly cause an apex:inputField bound to a picklist field to render with a disabled attribute?