Adding styleclass to Salesforce dependent picklist fields(VF Page).

Problem : Adding Styleclass forĀ Salesforce dependent picklist .

Description : Eventhough we add style or styleclass to dependent picklist fields, it does not rendered in page or it seems.,

<apex:inputField value=”{!Test.Field1__c}” styleClass=”form-control”/>
<apex:inputField value=”{!Test.Field2__c}” styleClass=”form-control”/>
<apex:inputField value=”{!Test.Field3__c}” styleClass=”form-control”/>

Above is the 3 dependent fields in vf page. In vf page eventhough am specifying the style class, when viewed its seems like class was not appending.

Untitled

Continue reading

Advertisements