1 answer
on the on click event, you can pass the IndexVar to the client controller so that you can have Id You can use something similar to this
Let me know if you have any questionsThanksPramodh<aura:iteration items="{!v.lstItem}" var="item" indexVar="index">
<input data-selected-Index="{!index}" onchange="{!c.textChange}" type="text"
value="{!item.companyName}" class="slds-input slds-m-top--large" />
</aura:iteration>