0

VF Page code:

<div class="slds-form-element slds-size--1-of-2">
                <label class="slds-form-element__label" for="input-02">Secondary Opportunity Owner:</label>
                <apex:inputfield styleclass="slds-input" value="{!opp2.Secondary_Opportunity_Owner__c}"/>
              </div>

Issue: enter image description here

Expected:

enter image description here

enter image description here

Can anyone help me how to get the lookup field as expected above.

Reagrds,

Ajay

Ajay
  • 1,589
  • 3
  • 32
  • 63
  • http://salesforce.stackexchange.com/questions/92699/ ? – sfdcfox Oct 26 '16 at 21:37
  • I have already got the standard lookup feature. However this is bit tricky one along with drop down as you see. – Ajay Oct 26 '16 at 21:48
  • did you try setting the width for the input field? – cartman Oct 26 '16 at 21:57
  • @cartman: I did add the width, and width is reduced for outer layer. However how do I get lookup icon to select the user? – Ajay Oct 26 '16 at 22:13
  • Did you try to tweak the css applied on the div & input field? Open Developer Tools in chrome or firefox and try to remove the applied classes one by one and see which one is responsible for the lookup icon to disappear. – Santanu Halder Oct 27 '16 at 06:09

0 Answers0