Hide User Dropdown on Lookup - Visualforce

Visualforce Aug 21, 2014

Hide user dropdown list in Visualforce page, please check image below

STEP1: please add a styleClass to <apex:inputFiled > as follows

	<apex:form>
    	<!-- your code goes here -- >
        <apex:inputField styleClass="hideDropdown" value="{!Account.OwnerId}"/>       
    </apex:form>

Simply add styleClass="hideDropdown" to your inputField (lookup type)

STEP2: Add custom css in your Visualforce page for hideDropdown class as follows

css

>output

![](/content/images/2014/Aug/Screen-Shot-2014-08-22-at-12-03-02-PM.png)

**NOTE:** I compressed Image else both will be in straight line

That's it!!! we're good to go.

Please comment if you feel its helpful

Phanindra Mangipudi

Salesforce, Lightning Web Componets, Node.Js, Angular 2+, Bootstrap