+ Start a Discussion
SFDC coderSFDC coder 

lookup field designing in lightning

hello All,

I need to display a lookup field in VF page on salesforce 1. I have used apex:inputfield tag for the same however it refers to the old salesforce styling and i am looking out for  Salesforce1 lookup design.

Can anyone please suggest?

I had a look at the link below but couldn't understand how to take it forward and implement in VF page

Any help would be appreciated
 
Andy BoettcherAndy Boettcher
Using the Visualforce tags, you'll get the Visualforce styling.  You MAYBE could override some CSS with the Lightning Design System (LDS), but I would caution you doing so and instead of VF just go code it in Lightning / Lightning Components.
SFDC coderSFDC coder
Hi Andy,

Thanks for your suggestion. However i checked within the lightning design system and as of now it does not support any styles for the lookup icons. With regards to your second option, just for one or 2 lookup fields i'll have to code the whole thing in lightning.

Is there any other feasible solution?
Justin J. YueJustin J. Yue
Hi, I wrote a wrapper VF component for it. You can check my post (http://wp.me/p19Otf-4b" target="_blank) for details. It should help you for the lookup field.