Trying to read currently clicked source's title using event.getSource().get("{!v.title}")
and set it to the Event attribute. But it is showing me below error.
Action failed: c$AssignedAssessmentListItemToPatient$controller$fireatq [SyntaxError: Invalid key {!v.title}] Failing descriptor: {c$AssignedAssessmentListItemToPatient$controller$fireatq}. Please try again.
It was working fine before Summer 16 release. Please find below code:
fireatq : function(component, event, helper) {
var action = $A.get("e.c:ATQEvent");
action.setParams({"AssId" : event.getSource().get("{!v.title}")}
action.fire();
}
get("v.title")
instead ofget("{!v.title}")