• Racheal Dales 25
  • NEWBIE
  • 0 Points
  • Member since 2019

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 4
    Replies
I am trying to select multiple users from the User object in Salesforce. i could reproduce all the steps in the link except Testapp.app and got an below error.

http://sfdcmonkey.com/2018/02/20/multi-select-lookup-salesforce-lightning/

Failed to save TestApp.app: The attribute "label" was not found on the COMPONENT markup://c:reUsableMultiSelectLookup: Source

Any help would be greatly appreciated!  My code - 

<aura:application extends="force:slds">
  <!-- Create attribute to store lookup value as a sObject--> 
  <aura:attribute name="selectedLookUpRecords" type="sObject[]" default="[]"/>
 
  <c:reUsableMultiSelectLookup objectAPIName="user"
                               IconName="standard:user"
                               lstSelectedRecords="{!v.selectedLookUpRecords}"
                               label="User Name"/>
   <!-- here c: is org. namespace prefix-->
</aura:application>
 
I am trying to select multiple users from the User object in Salesforce. i could reproduce all the steps in the link except Testapp.app and got an below error.

http://sfdcmonkey.com/2018/02/20/multi-select-lookup-salesforce-lightning/

Failed to save TestApp.app: The attribute "label" was not found on the COMPONENT markup://c:reUsableMultiSelectLookup: Source

Any help would be greatly appreciated!  My code - 

<aura:application extends="force:slds">
  <!-- Create attribute to store lookup value as a sObject--> 
  <aura:attribute name="selectedLookUpRecords" type="sObject[]" default="[]"/>
 
  <c:reUsableMultiSelectLookup objectAPIName="user"
                               IconName="standard:user"
                               lstSelectedRecords="{!v.selectedLookUpRecords}"
                               label="User Name"/>
   <!-- here c: is org. namespace prefix-->
</aura:application>