function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ 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:
Link
https://stackoverflow.com/questions/58110739/how-to-get-id-and-value-of-all-slide-toggle-elements

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