Skip to main content
1 of 2
Ranga
  • 1.7k
  • 1
  • 14
  • 25

Issue is in your BoatTile controller. When you set params at the point of firing the event, you need to set it as an id not an object type.

Example,

({
    onBoatClick : function(component, event, helper) {
        var BoatClick = component.getEvent("boatSelect");
        var boatId = component.get("v.boat").Id;  
        BoatClick.setParam("boatId" : boatId);
        BoatClick.fire();
    }
})
Ranga
  • 1.7k
  • 1
  • 14
  • 25