• Nicolas Cumulus
  • NEWBIE
  • 0 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 2
    Replies
Hello,

I'm working on getting the action handling challenge (https://developer.salesforce.com/trailhead/lex_dev_lc_basics/lex_dev_lc_basics_controllers) and although I believe my code is correct and does what it's expected to do (see below), I'm getting "Challenge Not yet complete... here's what's wrong: The campingListItem JavaScript controller isn't setting the 'item' attribute correctly." Could I get a hint on what's going on?

Cheers,

Jiri
({
    packItem : function(component, event, helper) {
   
       component.set("v.item.Packed__c", true);     
       event.getSource().set ("v.disabled", true);
        
    }
})