Questions tagged [find]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
1k views

component.find().get(“v.value”) not working for unique local ID

According to lightning:select documentation the following should work:Component Markup <lightning:select name="selectBoatType" aura:id="currentBoatTypeChoice" ...
8
votes
2answers
2k views

Lightning component.find(“aura:id”) returns an array consisting of one element

I found the following excerpt in the documentation: If the local ID is unique, find() returns the component. If there are multiple components with the same local ID, find() returns an array ...
5
votes
1answer
793 views

Account Trigger find Ultimate Parent Account

There is a field on Account called Account.Ultimate_Parent__c. I want to update(through trigger) this field with correct value whenever Account.Parent field is Changed. Although, Ultimate Parent ...
1
vote
0answers
50 views

basis of the ordering of list returned by component.find()

I am using component.find(aura_id) to get the component. I have multiple components with the same aura_id So I am getting a list. My question: What is the basis of the ordering of list returned by ...
1
vote
1answer
939 views

find() elements in {!v.body}

I'm rendering components in the body of another component: <c:test> <input type="text" aura:id="fooBar" /> </c:test> In this c:test component I'm trying to access the inner ...