You need to sign in to do that
Don't have an account?
Jiri Ulip
Lightning Components - basic design challenge
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
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); } })
Jeff Douglas
Trailhead Developer Advocate
All Answers
Jeff Douglas
Trailhead Developer Advocate