You need to sign in to do that
Don't have an account?
Sumesh Chandran
Pass id of the row to controller when clicking the datetime dropdown
I am trying to pass the id of the row when the lightning input component gets focus or when the dropdown is clicked. Please adivse!
<aura:iteration items="{!v.opps}" var="opp"> <tr> <td data-label="Close Date"> <lightning:input class="slds-size_x-small slds-align_absolute-center" type="date" value="{! opp.CloseDate }" onchange="{!c.onDateChange}" onfocus="{!c.onDateFocus}"/> </td> </tr> </aura:iteration>
refer this link
https://github.com/forcedotcom/aura/issues/154
On Controller
Or
All Answers
refer this link
https://github.com/forcedotcom/aura/issues/154
On Controller
Or
The copmponent part was helpful, but the controller side, I got it working this way.