Skip to content

Instantly share code, notes, and snippets.

View nathanhinchey's full-sized avatar

Nathan Hinchey nathanhinchey

  • Brooklyn, NY, USA
View GitHub Profile
@JitendraZaa
JitendraZaa / Lookup.cmp.html
Last active January 18, 2020 07:02
Salesforce Lightning Lookup component - Pure SLDS and Javascript based
<aura:component controller="Lookup">
<aura:attribute Name="selItem" type="object" access="public"
description="This attribute can be used by parent component to read selected record"/>
<aura:attribute Name="server_result" type="object[]" access="private" />
<aura:attribute name="lookupIcon" type="String" access="public" default="standard:contact"/>
<aura:attribute name="objectName" type="String" access="public"
description="Name of Object to be searched"/>
<aura:attribute name="field_API_text" type="String" access="public"