+ Start a Discussion
Surender reddy SalukutiSurender reddy Salukuti 

how can get id value which i am passing to toggle ?

Hi ,
i have one requirement i need to get id value which i passing  to pass 
  <lightning:input type="toggle" name="{!Names.key}"  onchange="{!c.selectChange}" messageToggleActive="On" messageToggleInactive="Off" checked ="{!Names}" style="float:right;text-align: center;" ariaLabel="Enhance Goals Permission"/>

i am trying like below 

var fieldName1 = event.getSource().get("v.name");

help me any one on this 

Suraj Tripathi 47Suraj Tripathi 47
Hi Surendra reddy Salukuti,
you can take reference from this may be it will helps you:

If you find your Solution then mark this as the best answer.  
Thank you!
 Suraj Tripathi