Lightning Web Component (LWC): How to add a standard lookup field

9:13 PM



Adding a standard Lookup component:


In this example we use the lighting record-edit-form to add the standard lookup component to a Lightning Web Component (LWC).


4 comments

  1. Can we get value of name and other fields of account object. Thanks

    ReplyDelete
  2. But this is not providing a Functionality to create a New record on the fly.

    ReplyDelete
    Replies
    1. Yeah , It should Provide a Functionality to Add new Record and it should display the reference of new Record on Lookup Field , after the record is created.

      Delete