Skip to content

A lightning component for quick lookup functionality. Uses SOSL, Lightning components, and the Lightning Design System (SLDS). Also, works with generic sobjects.

Notifications You must be signed in to change notification settings

dancinllama/LightningLookup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

LightningLookup

A lightning component for quick lookup functionality. Uses SOSL, Lightning components, and the Salesforce Lightning Design System (SLDS). Also, works with generic sObjects.

A couple of notes:

  1. You will need to adjust the ltng:require tag to use the correct path to your LightningDesignSystem static resource. This should be done in both svgIcon.cmp as well as LightningLookup.cmp.
  2. If you have a namespace in your org, you should adjust c:svgIcon references in LightningLookup.cmp to use your existing namespace. e.g., instead use mynamespace:svgIcon

Here's an example of calling the LightningLookup from another Lightning Component:

<c:lightningLookup icons="[&quot;standard-sprite/svg/symbols.svg#product&quot;]" sobjectsToSearch="[&quot;Product2&quot;]" recordLimit="5" title="Products" />

Deploy to Salesforce

About

A lightning component for quick lookup functionality. Uses SOSL, Lightning components, and the Lightning Design System (SLDS). Also, works with generic sobjects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published