Questions tagged [aura-id]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
15
votes
3answers
4k views

Dynamically created component with aura:id, set as a Facet inside a parent component, is not found when calling find() and passing in aura:id

I would have expected that when a dynamically created lightning component is assigned as another component's attribute of type Aura.Component[], also referencing it in the parent component's markup ...
11
votes
2answers
5k views

Problems “find”ing a dynamically created child component

I'm just getting started working with dynamically creating child components and am having problems "find"ing them to do things like calling a method in them. If the component is created statically in ...
8
votes
5answers
6k views

Aura:Id of dynamically created compontns cannot be accessed

Below is my code to create the component dynamically - The component is "ui:inputselect" $A.createComponent( RecoveryLineItem.Attributes[i].name,{ "class" : "slds-input ", ...
3
votes
1answer
2k views

<ui:inputText /> cannot get aura:id

I have the following input in my component: <ui:inputNumber class="slds-input" aura:id="thisInput" value="{!v.thisVal}" change="{!c.inputChange}"/> which calls the following controller: ...
3
votes
1answer
1k views

In Lightning/Aura, is it possible to dynamically set the id for ui:inputText and ui:InputSecret?

I'm currently trying to refactor the Discover Lightning Actions source code into something which wouldn't make my eyes bleed on a professional project. Most especially, I wish to reduce all the ...
1
vote
1answer
2k views

Lightning Component: Retrieve values from dynamic forms

I have a list of records and an accordion style form for each record: this is achieved with aura:iteration and few <tr> tags. I've used the indexVar on aura:iteration to uniquely identify ...