You need to sign in to do that
Don't have an account?

Lightning ui:inputRadio documentation incorrect?
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
Thanks
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
I encountered this in a Lightning component that I wrote as well. I found it had to do with LockerService being enabled in my org. In order to verify you could always disable LockerService. The documentation should probably be updated to ensure it is LockerService compliant.