
1 risposta
Susan,Try doing the following in your controller. First get the item from the form.
Then set the item's Packed__c field equal to true. Then use compent.set to set the item back to the v.item provider.Then since the button is the event that triggered the process, you can do event.getSource() and then do .set and set the v.disabled to true.HTHJeff DouglasTrailhead Developer Advocatevar item = component.get("v.item");