• Jaspreet Kaur 10
  • 5 Points
  • Member since 2016

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
  • 1
We have implemented google Api in our code and that seems fine to us.But for few records map is not loading and showing error below( as below screenshot) and when we change its longitude and latitude for particular record to NULL its working fine whereas in other cases its working fine with defined longitude and latitude.
User-added image
Hi All,

I am not able to complete the challenge "Mark Item as Packed" getting error message  The campingListItem JavaScript controller isn't setting the 'Packed' value correctly.

Below is the code, please help

<aura:component >

    <aura:attribute name="item" type="Camping_Item__c" required="true"/>
    <aura:attribute name="buttonDisabled" type="String" default="false"/>

        <ui:outputCurrency value="{!v.item.Price__c}"/>
        <ui:outputText  value="{!v.item.Name}"/>
        <ui:outputNumber value="{!v.item.Quantity__c}"/>
        <ui:outputCheckbox value="{!v.item.Packed__c}"/>
    <ui:button label="Packed!" press="{!c.packItem}" disabled="{! v.buttonDisabled}" />

    packItem : function(component, event, helper) {
        component.set("v.item", { 'sobjectType': 'Camping_Item__c','Packed__c': true });
        component.set("v.buttonDisabled", "true");