function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Chetan PradhanChetan Pradhan 

Lightning lookup field with option to create new record

Hi All,
I have a Visualforce page which I want to use in Lightning experience. The page has few lookup fields. Is there a way to embed or code to enable lightning-native lookup fields that will give the ability to not only search for the lookup item but will also give the option to create new lookup record if you want to, like in the image below? There are few lightning lookup components and resources out there but I doubt they give this option. Any help will be really appreciated. Thanks!User-added image
MagulanDuraipandianMagulanDuraipandian
Use <force:inputField/>. Check the below for example

http://www.infallibletechie.com/2018/03/lookup-field-with-option-to-create-new.html
cjpradcjprad
Thanks Magulan.