• Greg Sawers
  • NEWBIE
  • 0 Points
  • Member since 2016
  • Software Developer
  • Full Circle Insights

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies
Hi,

I was recently reading through some of the Lightning UI component documentation and found what I believe to be an error in the documentation.

When describing an example controller, the documentation uses the line 
evt.source.get("v.label");
however when I use this example in my own org it will not get the source correctly. Instead using 
event.getSource().get('v.label')
will correctly get the label from the source. Can anyone advise me why this might be or if the functionality changed and the documentation wasn't updated?

Thanks