• Mrinal Sharma 23
  • NEWBIE
  • 0 Points
  • Member since 2019
  • Mrinal

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies
I am creating new record using <lightning:recordEditForm>  and i am not able to populate lookup field onload finction. 
I tried below things but both are not working: 
1.
<lightning:inputField aura:id="caseLookup" type='String' fieldName ="Case__c" value="00842156"/>
2.
<lightning:inputField aura:id="caseLookup" fieldName ="Case__c"/>
Controller: 
onload : function(component, event, helper) { var parentId = component.get("v.parentId"); // requires inputFields to have aura:id component.find("caseLookup").set("v.value", "00842156"); },
Please help me here, I can do it using custom component but i want to use this. Or let me know if i can use something else to create new record of any object. 
prepopulate lookup field in lightning:recordeditform with lightning:inputfield
Hi All,
i am tryying to display account table in the component using table,td,tr
in this 1st coloum i need to display arrow and use expand and collapse for the remaining fields to display.

expected output:
User-added image

Can any one help me to complete component.